Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
muslim:2639bAbū Bakr b. Abū Shaybah And ʿAmrw al-Nāqid Wazuhayr b. Ḥarb And Muḥammad b. ʿAbdullāh b. Numayr And Ibn Abū ʿUmar Wa-al-Lafẓ Lizuhayr > Sufyān > al-Zuhrī > Anas

When would be the Last Hour? He (the Holy Prophet) said: What preparation have you made for that? And he gave no details, but said: I love Allah and His Messenger. Thereupon he (the Holy Prophet) said: You would be along with one whom you love. Anas b. Malik reported through another chain of transmitters that a desert Arab came to Messenger of Allah (may peace be upon, him), the rest of the hadith is the same but with this variation that he said: I have not made much preparations which merit appreciation for myself.  

مسلم:٢٦٣٩bحَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ وَعَمْرٌو النَّاقِدُ وَزُهَيْرُ بْنُ حَرْبٍ وَمُحَمَّدُ بْنُ عَبْدِ اللَّهِ بْنِ نُمَيْرٍ وَابْنُ أَبِي عُمَرَ وَاللَّفْظُ لِزُهَيْرٍ قَالُوا حَدَّثَنَا سُفْيَانُ عَنِ الزُّهْرِيِّ عَنْ أَنَسٍ قَالَ قَالَ

رَجُلٌ يَا رَسُولَ اللَّهِ مَتَى السَّاعَةُ قَالَ وَمَا أَعْدَدْتَ لَهَا فَلَمْ يَذْكُرْ كَبِيرًا قَالَ وَلَكِنِّي أُحِبُّ اللَّهَ وَرَسُولَهُ قَالَ فَأَنْتَ مَعَ مَنْ أَحْبَبْتَ حَدَّثَنِيهِ مُحَمَّدُ بْنُ رَافِعٍ وَعَبْدُ بْنُ حُمَيْدٍ قَالَ عَبْدٌ أَخْبَرَنَا وَقَالَ ابْنُ رَافِعٍ حَدَّثَنَا عَبْدُ الرَّزَّاقِ أَخْبَرَنَا مَعْمَرٌ عَنِ الزُّهْرِيِّ حَدَّثَنِي أَنَسُ بْنُ مَالِكٍ أَنَّ رَجُلاً مِنَ الأَعْرَابِ أَتَى رَسُولَ اللَّهِ ﷺ بِمِثْلِهِ غَيْرَ أَنَّهُ قَالَ مَا أَعْدَدْتُ لَهَا مِنْ كَثِيرٍ أَحْمَدُ عَلَيْهِ نَفْسِي