A Chishti pir has this to add: The attitude of the Sufis towards death can be described in this way that they think that if they die they shall be with Allah and if they live Allah will be with them. Thus whether in life or in death they are with the Friend. An eminent saint, named shaykh 'Abdul Qadir Jilani (d. 1166), better known as al-ghawth al-'azam (the supreme helper), says that: ‘To remember death is the best remedy for the treatment of all the ills of the self'.
A good life can be led only when one is mindful of death. The recollection of death is the best preparation for the life hereafter. One of the benefits of a pure life is that it frees an individual from the fear of death. Shaykh 'Abdul Qadir Jilani offered prayers and prayed for the welfare of all. Then he bowed down in adoration and when he raised his head, he heard a voice from the source invisible saying some words, which translated run thus:
A good life can be led only when one is mindful of death. The recollection of death is the best preparation for the life hereafter. One of the benefits of a pure life is that it frees an individual from the fear of death. Shaykh 'Abdul Qadir Jilani offered prayers and prayed for the welfare of all. Then he bowed down in adoration and when he raised his head, he heard a voice from the source invisible saying some words, which translated run thus:
O, tranquil self! Return to your Lord Well pleased and pleasing! Enter among My servants
(Source: http://www.chishti.ru/sufi_death.htm)