Anas bin Malik reported,

A man asked the Messenger of Allah ﷺ about the coming of the Hour, and just then the call to prayer was made. After the Messenger of Allah ﷺ finished his prayer, he asked, "Where is the one who asked about the Hour?"The man replied, "Here I am, Messenger of Allah."The Prophet ﷺ said, "What have you prepared for it, for it is surely coming?"The man answered, "I have not prepared much in the way of deeds, except that I love Allah and His Messenger."The Prophet ﷺ said, "You will be with those you love."The Muslims had never rejoiced over anything after embracing Islam as much as they rejoiced over this.

Ahmad 12715

Sahih

حدثنا أبو كامل حدثنا حماد حدثنا ثابت

عن أنس

أن رجلا سأل رسول الله ﷺ عن قيام الساعة وأقيمت الصلاة فلما قضى رسول الله ﷺ صلاته قال أين السائل عن الساعة فقال الرجل ها أنا ذا يا رسول الله فقال وما أعددت لها فإنها قائمة قال ما أعددت لها من كبير عمل غير أني أحب الله ورسوله قال فأنت مع من أحببت قال فما فرح المسلمون بشيء بعد الإسلام أشد مما فرحوا به

أحمد 12715صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Anas bin Malik
Numbering
Darussalam 12715
Ahmad 12715