Anas bin Malik reported,

A man came to the Messenger of Allah ﷺ and asked, "Messenger of Allah, when is the Hour?"The Prophet ﷺ replied, "What have you prepared for the Hour?"The man said, "Love for Allah and His Messenger."The Prophet ﷺ said, "You will be with those you love."Anas said, "After embracing Islam, nothing brought us greater joy than the Prophet's ﷺ words, 'You will be with those you love.'"Anas added, "I love Allah, His Messenger, Abu Bakr, and Umar, so I hope to be with them, even though I have not matched their deeds."

Muslim 6713

Sahih

حدثني أبو الربيع العتكي حدثنا حماد يعني ابن زيد حدثنا ثابت البناني

عن أنس بن مالك قال

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

مسلم 6713صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Righteousness, maintaining ties, and good manners
Chapter
One is with those whom he loves
Numbering
Darussalam 6713
Muslim 6713