The Messenger of Allah ﷺ was asked, "Which deed is best?"He replied, "Faith in Allah and His Messenger."It was asked, "Then what?"He said, "Jihad in the path of Allah."It was asked, "Then what?"He said, "An accepted Hajj."
أن رسول الله ﷺ سئل: أي العمل أفضل؟ فقال: إيمان بالله ورسوله، قيل ثم ماذا؟ قال: الجهاد في سبيل الله. قيل: ثم ماذا؟ قال: حج مبرور.
Bukhari narrated it in the Book of Faith (26), and Muslim in the Book of Faith (83), both from the hadith of Ibrahim bin Saad, who said, our teacher told us Ibn Shihab, from Saeed bin Musayab, from Abu Hurairah, who related it.