From time to time, as an integral part of your spiritual practice, meditate on your death. Ask yourself what you might do to purify your heart more deeply, say what needs to be said to others, and perform more righteous deeds. Do all of this not with a sense of fear but out of a soul-felt desire to become free and fulfilled. The Prophet Muhammad has sage advice for all of us: "When you were born, everyone was smiling but you were crying. Live such a life that when you depart, everyone is weeping but you are smiling."
Reference~ Spiritual Gems of Islam by Imam Jamal Rahman