He heard the Messenger of Allah ﷺ say, "Whoever is content with Allah as Lord, with Islam as religion, and with Muhammad as Prophet and Messenger has tasted the sweetness of faith."
حدثنا محمد بن إدريس يعني الشافعي حدثنا عبد العزيز بن محمد عن يزيد يعني ابن الهاد عن محمد بن إبراهيم عن عامر بن سعد
أنه سمع رسول الله ﷺ يقول ذاق طعم الإيمان من رضي بالله ربا وبالإسلام دينا وبمحمد نبيا رسولا
Its isnad is sahih. Muhammad bin Idris Shafii, the Imam and authoritative scholar, is too well known to need a biography. Muhammad bin Ibrahim bin Harith bin Khalid bin Sakhr Qurashi Taymi was a trustworthy successor with many hadiths, and his grandfather Harith was among the earliest emigrants. The hadith was narrated by Muslim and Tirmidhi, as noted in Dhakhair Mawarith 2552.