The Prophet ﷺ said, "Whoever loves to meet Allah, Allah loves to meet him, and whoever hates to meet Allah, Allah hates to meet him."
ى، عن النبي ﷺ قال: من أحب لقاء الله أحب الله لقاءه، ومن كره لقاء الله كره الله لقاءه.
Bukhari narrated it in the Book of Riqaq (6508), and Muslim in the Book of Remembrance and Supplication (2686), both from the hadith of Abu Usama, from Buraid, from Abu Burda, from Abu Musa, and he mentioned it, their wording being the same.