Messenger of Allah ﷺ and I were coming out of the mosque that we met a person on the threshold of the mosque and he said to Messenger of Allah ﷺ: When would be the Last Hour? Messenger of Allah ﷺ said: What preparation have you made for that? The man became silent and then said: Messenger of Allah, I have made no significant preparation with prayer and fasting and charity but I, however, love Allah and His Messenger. Thereupon (the Holy Prophet) said: You would be along with one whom you love.
بَيْنَمَا أَنَا وَرَسُولُ اللَّهِ ﷺ خَارِجَيْنِ مِنَ الْمَسْجِدِ فَلَقِينَا رَجُلاً عِنْدَ سُدَّةِ الْمَسْجِدِ فَقَالَ يَا رَسُولَ اللَّهِ مَتَى السَّاعَةُ قَالَ رَسُولُ اللَّهِ ﷺ مَا أَعْدَدْتَ لَهَا قَالَ فَكَأَنَّ الرَّجُلَ اسْتَكَانَ ثُمَّ قَالَ يَا رَسُولَ اللَّهِ مَا أَعْدَدْتُ لَهَا كَبِيرَ صَلاَةٍ وَلاَ صِيَامٍ وَلاَ صَدَقَةٍ وَلَكِنِّي أُحِبُّ اللَّهَ وَرَسُولَهُ قَالَ فَأَنْتَ مَعَ مَنْ أَحْبَبْتَ