Anas bin Malik reported,

We used to enjoy it when a man from the desert people came and questioned the Messenger of Allah ﷺ.An Arabi came and said, "Messenger of Allah, when will the Hour be established?"The call to prayer was given, and the Messenger of Allah ﷺ led the prayer. When he finished his prayer, he asked, "Where is the one who asked about the Hour?"The man replied, "Here I am, Messenger of Allah."He asked, "What have you prepared for it?"The man said, "I have not prepared much for it, no abundance of prayer or fasting, except that I love Allah and His Messenger."The Messenger of Allah ﷺ said, "A person will be with those whom he loves."Anas said, "I have not seen the Muslims rejoice over anything after Islam as much as they rejoiced over this."

Ahmad 12013

Sahih

حدثنا ابن أبي عدي عن حميد

عن أنس قال

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

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