Sahih Muslim #6713 · The Book of Virtue, Enjoining Good Manners, and Joining of the Ties of Kinship

Sahih MuslimAnas b. Malik reported that a person came to Allah's Messenger
Sahih Muslim · Book 45 · The Book of Virtue, Enjoining Good Manners, and Joining of the Ties of Kinship
Sahih Muslim · كتاب 45 · كتاب البر والصلة والآداب
When would be the Last Hour? Thereupon he (the Holy Prophet) said: What preparation have you made for the Last Hour? He said: The love of Allah and of His Messenger (is my only preparation). Thereupon he (the Holy Prophet) said: You would be along with one whom you love. Anas said: Nothing pleased us more after accepting Islam than the words of Allah's Apostle: You would be along with one whom you love. And Anas said. I love Allah and His Messenger and Abu Bakr and Umar, and I hope that I would be along with them although I have not acted like them.
حَدَّثَنِي أَبُو الرَّبِيعِ الْعَتَكِيُّ، حَدَّثَنَا حَمَّادٌ، - يَعْنِي ابْنَ زَيْدٍ - حَدَّثَنَا ثَابِتٌ الْبُنَانِيُّ، عَنْ أَنَسِ بْنِ مَالِكٍ، قَالَ جَاءَ رَجُلٌ إِلَى رَسُولِ اللَّهِ صلى الله عليه وسلم فَقَالَ يَا رَسُولَ اللَّهِ مَتَى السَّاعَةُ قَالَ ‏
"‏ وَمَا أَعْدَدْتَ لِلسَّاعَةِ ‏"‏ ‏.‏ قَالَ حُبَّ اللَّهِ وَرَسُولِهِ قَالَ ‏"‏ فَإِنَّكَ مَعَ مَنْ أَحْبَبْتَ ‏"‏ ‏.‏ قَالَ أَنَسٌ فَمَا فَرِحْنَا بَعْدَ الإِسْلاَمِ فَرَحًا أَشَدَّ مِنْ قَوْلِ النَّبِيِّ صلى الله عليه وسلم ‏"‏ فَإِنَّكَ مَعَ مَنْ أَحْبَبْتَ ‏"‏ ‏.‏ قَالَ أَنَسٌ فَأَنَا أُحِبُّ اللَّهَ وَرَسُولَهُ وَأَبَا بَكْرٍ وَعُمَرَ فَأَرْجُو أَنْ أَكُونَ مَعَهُمْ وَإِنْ لَمْ أَعْمَلْ بِأَعْمَالِهِمْ ‏.‏
Reference : Sahih Muslim 6713In-book reference : Book 45, Hadith 208