The Messenger of Allah ﷺ said, "Abu Saeed, whoever is content with Allah as Lord, with Islam as religion, and with Muhammad as Prophet, Paradise becomes obligatory for him."Abu Saeed was amazed by this and said, "Repeat it for me, Messenger of Allah."So he did, then the Messenger of Allah ﷺ said, "And there is another deed by which the servant is raised one hundred ranks in Paradise, the distance between each two ranks being like the distance between the heavens and the earth."Abu Saeed asked, "What is it, Messenger of Allah?"He replied, "Jihad in the path of Allah, jihad in the path of Allah."
قال الحارث بن مسكين قراءة عليه وأنا أسمع عن ابن وهب قال حدثني أبو هانئ عن أبي عبد الرحمن الحبلي
أن رسول الله ﷺ قال يا أبا سعيد من رضي بالله ربا وبالإسلام دينا وبمحمد نبيا وجبت له الجنة قال فعجب لها أبو سعيد قال أعدها علي يا رسول الله ففعل ثم قال رسول الله ﷺ وأخرى يرفع بها العبد مائة درجة في الجنة ما بين كل درجتين كما بين السماء والأرض قال وما هي يا رسول الله قال الجهاد في سبيل الله الجهاد في سبيل الله
Muslim narrated it, in the Book of Leadership, in the chapter on explaining what Allah has prepared in Paradise for the one who strives in His cause in terms of ranks, hadith no. 1884, from the hadith of Ibn Wahb, through him. It is also in Kubra, hadith no. 4339.