Anas bin Malik reported,

The Messenger of Allah ﷺ came walking until he reached a spot near the mosque. An old man, or a man, came to him and asked, "When is the Hour, Messenger of Allah?"He replied, "And what have you prepared for it?"The man said, "By the One who sent you with the truth, I have not prepared much in the way of prayer or fasting for it, but I love Allah and His Messenger."He said, "You will be with those you love."

Ahmad 13157

Sahih

حدثنا أسود بن عامر أخبرنا أبو بكر بن عياش عن منصور عن سالم بن أبي الجعد

عن أنس قال

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

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