A man asked the Prophet ﷺ, "Messenger of Allah, which deeds are best?"He replied, "Faith in Allah."The man asked, "Then what?"He said, "Jihad in the path of Allah."The man asked, "Then what?"He said, "Then an accepted Hajj."
أخبرنا محمد بن رافع قال حدثنا عبد الرزاق قال أنبأنا معمر عن الزهري عن ابن المسيب
سأل رجل النبي ﷺ فقال يا رسول الله أي الأعمال أفضل قال الإيمان بالله قال ثم ماذا قال الجهاد في سبيل الله قال ثم ماذا قال ثم الحج المبرور
Related by Muslim in the Book of Faith, chapter on the statement that faith in Allah the Exalted is the best of deeds, hadith no. 83, from Muhammad bin Rafi, and by Bukhari in the Book of Faith, chapter on those who said that faith is action, hadith no. 26, from the hadith of Zuhri through the same chain. It is also found in Al-Kubra, hadith no. 3603.