She mentioned that the Messenger of Allah ﷺ said, "Whoever loves to meet Allah, Allah loves to meet him, and whoever hates to meet Allah, Allah hates to meet him."She said, "I asked, 'Messenger of Allah, all of us dislike death.'"He replied, "That is not what is meant. Rather, when the believer is given glad tidings of Allah's mercy, His pleasure, and His paradise, he loves to meet Allah, and Allah loves to meet him. And when the disbeliever is informed of Allah's punishment and His wrath, he hates to meet Allah, and Allah hates to meet him."
حدثنا حميد بن مسعدة حدثنا خالد بن الحارث حدثنا سعيد بن أبي عروبة قال وحدثنا محمد بن بشار حدثنا محمد بن بكر عن سعيد بن أبي عروبة عن قتادة عن زرارة بن أوفى عن سعد بن هشام
أنها ذكرت أن رسول الله ﷺ قال من أحب لقاء الله أحب الله لقاءه ومن كره لقاء الله كره الله لقاءه قالت فقلت يا رسول الله كلنا نكره الموت قال ليس ذلك ولكن المؤمن إذا بشر برحمة الله ورضوانه وجنته أحب لقاء الله وأحب الله لقاءه وإن الكافر إذا بشر بعذاب الله وسخطه كره لقاء الله وكره الله لقاءه
Reference: Also related by Muslim, in the Book of Remembrance and Supplication, chapter on whoever loves to meet Allah, Allah loves to meet him, etc., Hadith 2684, from Muhammad bin Bashshar, with the same wording.