Hadith 118
“a man asked the Prophet (ﷺ), "O Prophet of Allah, when will the Final Hour come?" the Prophet (ﷺ) asked him: "Have you prepared for it?" He replied, " I am not prepared for that terrible event, but I love Allah and His Messenger." the Prophet (ﷺ) said, " A person will be with those who he loves.”
Anas (رضي الله عنه)Al-Adab Al-Mufrad 352Adab & Virtues of Visiting Friends & Relatives