It is narrated from Hazrat Anas (may Allah be pleased with him) that once I was with the Prophet (peace and blessings be upon him) in his house, when a man asked this question: O Messenger of Allah (peace and blessings be upon him)! When will the Hour (Day of Judgment) be established? The Prophet (peace and blessings be upon him) said: What preparation have you made for the Hour? He said: I have not prepared many good deeds, but I do love Allah and His Messenger. The Prophet (peace and blessings be upon him) said: You will be with those whom you love, and you will get what you have earned.
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 13362
Hadith Gradingحکم دارالسلام:حديث صحيح، وهذا إسناد حسن، مبارك بن فضالة قد توبع، وبرقم: 14012، صرح بسماعه من الحسن، والحسن من أنس.