Sure Al-Baqara

2:131

إِذْ قَالَ لَهُۥ رَبُّهُۥٓ أَسْلِمْ ۖ قَالَ أَسْلَمْتُ لِرَبِّ ٱلْعَٰلَمِينَ

(Damals,) als sein Herr zu ihm sagte: "Werde Muslim!" Ich habe mich dem Herrn der Weltenbewohner ergeben."

Tafsir 2:131

Allah chose Abraham because of his swiftness in surrendering, telling him to be faithful and devoted to Him in worship and to humbly do as He instructed. Abraham replied to his Lord saying that he had surrendered in devotion to Him, Who created His servants, providing for them and taking care of their affairs.