‏حَدَّثَنَا ‏ ‏عُثْمَانُ بْنُ أَبِي شَيْبَةَ ‏ ‏حَدَّثَنَا ‏ ‏جَرِيرٌ ‏ ‏عَنْ ‏ ‏مَنْصُورٍ ‏ ‏عَنْ ‏ ‏سَالِمِ بْنِ أَبِي الْجَعْدِ ‏ ‏حَدَّثَنَا ‏ ‏أَنَسُ بْنُ مَالِكٍ ‏ ‏رَضِيَ اللَّهُ عَنْهُ ‏ ‏قَالَ ‏
‏بَيْنَمَا أَنَا وَالنَّبِيُّ ‏ ‏صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ ‏ ‏خَارِجَانِ مِنْ الْمَسْجِدِ فَلَقِيَنَا رَجُلٌ عِنْدَ سُدَّةِ الْمَسْجِدِ فَقَالَ يَا رَسُولَ اللَّهِ مَتَى السَّاعَةُ قَالَ النَّبِيُّ ‏ ‏صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ ‏ ‏مَا أَعْدَدْتَ لَهَا فَكَأَنَّ الرَّجُلَ اسْتَكَانَ ثُمَّ قَالَ يَا رَسُولَ اللَّهِ مَا أَعْدَدْتُ لَهَا كَبِيرَ صِيَامٍ وَلَا صَلَاةٍ وَلَا صَدَقَةٍ وَلَكِنِّي أُحِبُّ اللَّهَ وَرَسُولَهُ قَالَ ‏ ‏أَنْتَ مَعَ مَنْ أَحْبَبْتَ

Anas bin Malik reported:

Allah's Messenger and I were coming out of the mosque that we met a person on the threshold of the mosque and he said to Allah's Messenger , "When would be the Last Hour?" Allah's Messenger said: "What preparation have you prepared for that?" The man became silent and then said, "Allah's Messenger, I have made no significant preparation with prayer and fasting and charity but I, however, love Allah and His Messenger." Thereupon he said, "You would be along with one whom you love."

[reported in al-Bukhari and Muslim]