Jami` at-Tirmidhi 2385
Anas narrated that a man came to the Messenger of Allah (s.a.w) and said:
" O Messenger of Allah! When will the Hour be established?" So the Propher (s.a.w) stood to perform Salat and when he was finished his Salat he said: "Where is the one who asked when the hour will be established?" The man said: "It was I, O Mesenger of Allah!" He said: "What have you prepared for it?" He said: "O Messenger of allah! I have not prepared very much of salat nor fasting for it, but I love Allah and His Messenger." So the Messenger of Allah(s.a.w) said: "A man shall be with whom ever he loves, and you shall be with whomever you love." So after the advent of Islam, I did not see that anything brought the Muslims more happiness than that.
حَدَّثَنَا عَلِيُّ بْنُ حُجْرٍ، أَخْبَرَنَا إِسْمَاعِيلُ بْنُ جَعْفَرٍ، عَنْ حُمَيْدٍ، عَنْ أَنَسٍ، أَنَّهُ قَالَ جَاءَ رَجُلٌ إِلَى رَسُولِ اللَّهِ صلى الله عليه وسلم فَقَالَ يَا رَسُولَ اللَّهِ مَتَى قِيَامُ السَّاعَةِ فَقَامَ النَّبِيُّ صلى الله عليه وسلم إِلَى الصَّلاَةِ فَلَمَّا قَضَى صَلاَتَهُ قَالَ ‏"‏ أَيْنَ السَّائِلُ عَنْ قِيَامِ السَّاعَةِ ‏"‏ ‏.‏ فَقَالَ الرَّجُلُ أَنَا يَا رَسُولَ اللَّهِ ‏.‏ قَالَ ‏"‏ مَا أَعْدَدْتَ لَهَا ‏"‏ قَالَ يَا رَسُولَ اللَّهِ مَا أَعْدَدْتُ لَهَا كَبِيرَ صَلاَةٍ وَلاَ صَوْمٍ إِلاَّ أَنِّي أُحِبُّ اللَّهَ وَرَسُولَهُ ‏.‏ فَقَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏"‏ الْمَرْءُ مَعَ مَنْ أَحَبَّ وَأَنْتَ مَعَ مَنْ أَحْبَبْتَ ‏"‏ ‏.‏ فَمَا رَأَيْتُ فَرِحَ الْمُسْلِمُونَ بَعْدَ الإِسْلاَمِ فَرَحَهُمْ بِهَذَا ‏.‏ قَالَ أَبُو عِيسَى هَذَا حَدِيثٌ صَحِيحٌ ‏.‏