He heard the Messenger of Allah ﷺ say, "He has tasted the sweetness of faith who is content with Allah as Lord, with Islam as religion, and with Muhammad as Prophet."
حدثنا قتيبة حدثنا الليث عن ابن الهاد عن محمد بن إبراهيم بن الحارث عن عامر بن سعد بن أبي وقاص
أنه سمع رسول الله ﷺ يقول ذاق طعم الإيمان من رضي بالله ربا وبالإسلام دينا وبمحمد نبيا
Muslim also narrated it, in the Book of Faith, chapter "The Proof That Whoever Is Pleased to Have Allah as Lord and Islam as Religion..." etc., hadith no. 34, from the hadith of Yazid bin Abdullah bin Had, with the same chain.