By Hadrat Mawlānā Muhammad Saleem Dhorat hafizahullāh

If we study the lives of the pious servants of Allāh ta'ālā, i.e. the Ambiyā, Sahābah radhiyallāhu 'anhum, the Muhaddithūn, Fuqahā, Awliyā, we will find one common factor in their lives, and that is their concern for securing Husn-ul-Khātimah so that they are successful in the Court of Allāh ta'ālā. Despite their lives being full of virtue, they would worry and pray for death in the state of īmān and Islām.

Allāh ta'ālā quotes the du'ā of Yūsuf 'alayhis salām in the Glorious Qur'ān:

…O Creator of the heavens and the Earth, You are my guardian in this world and the Hereafter. Make me die a Muslim and make me join the righteous. (12:101)

This is because a single word of disbelief at the time of death can erase the benefits of a lifetime of virtue and obedience. On the other hand, a person may live a life of sin and vice, and then be granted the blessing of īmān in the final moments of his life, thereby securing the success of both this world and the Hereafter. Through His infinite Grace and Mercy, Allāh ta'ālā inspired me with six points, which will secure Husn-ul-Khātimah and a good death for ourselves, which in turn will result in a good outcome in the Hereafter, Inshā'allāh.

1. Adopt Taqwā (Fear of Allāh ta'ālā)

Taqwā holds the power to repel all the forces which weaken one's īmān and at times snatch it away. This can be understood from the verses wherein Allāh commands the believers to adopt Taqwā. We understand from them that once a person becomes a believer, the method of safeguarding that belief is adopting Taqwā. And Taqwā simply means to create a barrier between disobedience to Allāh and ourselves. Another name for this Taqwā is Istiqāmah (steadfastness), because when a person, after accepting īmān, remains steadfast upon the Commands of Allāh, he will not disobey Him. Allāh ta'ālā mentions:

Surely, those who have declared: 'Our Lord is Allāh', then remained steadfast, on them the angels will descend, saying, 'Do not fear, and do not grieve; and be happy with the good news of Jannah (Paradise) that you had been promised. We have been your friends in the worldly life, and (will remain as such) in the Hereafter. And for you here is whatever your souls desire, and for you here is whatever you call for.' (41:30)

So when one accepts īmān by saying, "My Lord is Allāh", and thereafter safeguards this īmān by remaining steadfast in carrying out the Commands of Allāh and staying away from every disobedience, then Allāh will reward him with a good death, as is indicated in the verse above, that the angels will descend with special mercy at the time of his death. The commentators of the Qur'ān have mentioned that the angels of mercy are always with those who are steadfast on Dīn; however, the special indication given in this verse is that at the time of their death, the angels become visible to them, who give them the glad tidings of Jannah from their Lord.

2. Love the Pious and Spend Time in Their Company

The pious people are the people of Taqwā. The effect of loving them will create in one the desire to spend time in their company, and in doing so the effect of their taqwā will rub onto one's self. Allāh ta'ālā mentions:
O you who believe, adopt taqwā, and be in the company of the truthful. (9:119)

We need to firstly accept īmān, which alhamdulillāh we all do, and thereafter safeguard our īmān by adopting Taqwā, which can be acquired by staying in the company of those who already have it. The term 'The Truthful' used here is another name for those who have Taqwā, as mentioned in another place in the Qur'ān:

…Those are the ones who are truthful, and those are the God-fearing. (2:177)

Similarly the Prophet sallallāhu 'alayhi wasallam states in a hadīth:

On the Day of Judgement, a person will be with whom he loved. (At-Tirmidhī)

If a person entertains love for the pious, he will be with them in the Hereafter, and the pious people will be granted entry into Jannah, for which īmān is a prerequisite. Thus, we can deduce that such a person will die in the state of īmān.

3. Giving in Charity: .........

https://www.at-tazkiyah.com/index.ph...=16&Itemid=319