Riyad as-Saliheen 369
Anas bin Malik (May Allah be pleased with him) reported:
A bedouin came to Messenger of Allah ﷺ and said to him, "When will be the Hour (i.e., the Day of Resurrection)?" He (the Prophet ﷺ) said, "What preparation have you made for it?" He said, "Only the love of Allah and His Messenger." Then Messenger of Allah ﷺ said, "You will be with those whom you love."
[Al-Bukhari and Muslim].
The narration in Muslim is: The man replied: "I have made no significant preparation with regard to Salat (prayer), Saum (fasting) and Sadaqah (charity) but I love Allah and His Messenger".
وعن أنس رضي الله عنه أن أعرابيًا قال لرسول الله ﷺ : متى الساعة؟ قال رسول الله ﷺ: ما أعددت لها؟" قال: حب الله ورسوله قال: "أنت مع من أحببت" ((متفق عليه)) وهذا لفظ مسلم. وفي رواية لهما: ما أعددت لها من كثير صوم، ولا صلاة، ولا صدقة ولكني أحب الله ورسوله.