Narrated Ubadah bin As-Sam: The Prophet, peace be upon him, said, “Whoever loves to meet Allah, He (too) loves to meet him and whoever hates to meet Allah, He (too) hates to meet him.”

Ayesha or some of the wives of the Prophet, peace be upon him, said, “But we dislike death.” He said, “It is not like this, but it is meant that when the time of death of believer approaches, he receives good news of Allah’s pleasure with him and His blessings upon him. So at that time nothing is dearer to him than what is in front of him. He therefore loves the meeting with Allah, and Allah (too) loves the meeting with him.

But when the time of death of a disbeliever approaches, he receives the evil news of Allah’s torment and His requital, whereupon, nothing is more hateful to him than what is before him. Therefore, he hates the meeting with Allah, and Allah too hates the meeting with him.”
[8: 514- O.B. Sahih Al-Bukhari)