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 Raqaq (6508), and Muslim in the Book of Dhikr and Dua (2686), through various routes from Abu Usama, from Buraid, from Abu Burda, from Abu Musa, who mentioned it.