Hātim [al-Assam] [may Allāh have mercy on him] said:
“I looked at the creation and realised that every person has something which is beloved to him, but when that person reaches his grave, his beloved would be separated from him. Therefore i made the most beloved thing to me my righteous deeds, so they may be with me in my grave.
Mukhtasar Minhāj il-Qāsideen | Page 28 | Al-Imām ibn al-Jawzi [may Allāh have mercy on him]
Translation: Authentic Quotes