Islamic teaching gives a clear plan for a believer who knows that death is near: return to Allah in repentance, settle the rights of people, write a will, strengthen prayer and remembrance, and die with hope in Allah's mercy.
- Repentance (tawba) is accepted until the soul reaches the throat, as the Prophet (saw) said (Jami' al-Tirmidhi, graded hasan).
- Debts, trusts and wrongs done to others must be returned or forgiven, because rights of people are not simply wiped away by repentance to Allah.
- A will (wasiyya) should be written, within the limit of one third of the estate for non-heirs, with guidance for the family and for the funeral.
- The final week is best spent on obligatory acts, Qur'an, dhikr, forgiveness, kindness to family and a good opinion of Allah (husn al-zann).
Introduction
The question asks what a person would do on learning that he has one week to live. A personal anecdote is not what the question can be answered with in an Islamic setting, since the teaching of the Qur'an and the sunna already gives a detailed answer, which is more useful than any individual feeling. The knowledge of the time of death belongs to Allah alone (31:34), so such a case is an exercise to focus the mind, but the guidance given for the dying and the sick applies equally to every believer, since none knows whether he will see the evening.
The Prophet (saw) taught: 'Be in this world as though you were a stranger or a wayfarer' (Sahih al-Bukhari, from Ibn 'Umar), and 'Remember often the destroyer of pleasures', meaning death (Jami' al-Tirmidhi, Sunan al-Nasa'i and Sunan Ibn Majah, graded sahih by al-Albani). The plan below follows the order that scholars such as al-Ghazali in the Ihya' and Ibn al-Qayyim in Madarij al-Salikin describe for preparing to meet Allah.
First: sincere repentance
The first task is to return to Allah. The Qur'an says: 'Say: O My servants who have transgressed against themselves, do not despair of the mercy of Allah. Indeed Allah forgives all sins' (39:53). The conditions of repentance, as set out by Imam al-Nawawi in Riyad al-Salihin, are to stop the sin, to regret it, to resolve not to return and, if it involved the right of another person, to give that right back. The Prophet (saw) said that Allah accepts the repentance of the servant as long as the death rattle has not reached his throat (Jami' al-Tirmidhi and Sunan Ibn Majah, graded hasan).
A week is a long time for such work. A person can make istighfar at length, pray the night prayer, and use the master supplication for forgiveness (sayyid al-istighfar), of which the Prophet (saw) said that whoever says it during the day with certainty and dies that day will enter Paradise (Sahih al-Bukhari, from Shaddad ibn Aws). Scholars add that despair of mercy is itself a grave error, and so repentance should be joined with hope.
Second: rights of people, debts and the will
The scholars give priority to rights of other human beings, since these are settled by return or by forgiveness and not only by repentance. The Prophet (saw) said: 'Whoever has wronged his brother in honour or anything else, let him seek his pardon today before there is no dinar or dirham' (Sahih al-Bukhari, from Abu Hurayra). Debts are especially serious: the soul of the believer is held back by his debt until it is paid (Jami' al-Tirmidhi and Musnad Ahmad, graded sahih by al-Albani). A person in this position should list all debts, return what is held in trust and ask forgiveness from those he has wronged.
The Prophet (saw) also said that it is not right for a Muslim who has something to leave in a will to let two nights pass without his written will with him (Sahih al-Bukhari and Sahih Muslim, from Ibn 'Umar). The rules of the will are that it cannot exceed one third of the estate and cannot favour an heir beyond the shares set by Allah (Sahih al-Bukhari and Sahih Muslim, the hadith of Sa'd ibn Abi Waqqas; Sunan Abi Dawud and Jami' al-Tirmidhi, graded hasan, on 'no will for an heir'). A person can also write instructions for the funeral, for the guardianship of children and for the continued giving of charity.
Third: worship, family and ongoing charity
The obligatory prayers, fasting owed and zakat due should be settled. The Prophet (saw) said that when a person dies his deeds end except for three things: ongoing charity (sadaqa jariya), knowledge that benefits others and a righteous child who prays for him (Sahih Muslim, from Abu Hurayra). A week may be used to set up a well, a donation to a school or an endowment, to pass on knowledge and to teach the children to pray for their parents. Scholars of the four schools agree on the benefit of supplication and charity for the deceased, though they differ over some other acts, such as the reward of recitation reaching the dead.
Time with family should be gentle and honest. The Qur'an advises kind treatment of parents (17:23) and the Prophet (saw) was gentle with his family to the last days. Forgiveness should be asked and given, and arguments settled. The example of the Prophet (saw) is helpful: among his last words, as 'Ali (ra) reported, were 'The prayer, the prayer, and fear Allah regarding those whom your right hands possess' (Sunan Abi Dawud and Sunan Ibn Majah, graded sahih by al-Albani), a reminder of prayer and of care for the dependants one leaves behind.
Fourth: good expectation and the last words
The Prophet (saw) said: 'Let none of you die except while thinking well of Allah' (Sahih Muslim, from Jabir). Scholars such as Ibn al-Qayyim explain that good expectation is joined with good action, so that hope and fear are like two wings. A person facing death should keep close to the Qur'an, especially Surat Yasin, which is recited near the dying according to some scholars, though the hadith is graded weak by al-Albani, and Surat al-Ikhlas and the two protection chapters, which the Prophet (saw) recited over himself in his last illness (Sahih al-Bukhari and Sahih Muslim).
The Prophet (saw) said that whoever's last words are 'La ilaha illa Allah' will enter Paradise (Sunan Abi Dawud and Mustadrak al-Hakim, graded sahih by al-Albani). The dying person may say it, and others around should prompt it gently without pressure (talqin). The Companions' practice was to leave the dying person calm and not to question him.
What not to do
The Prophet (saw) forbade wishing for death because of harm, saying that if one must, he should say: 'O Allah, keep me alive as long as life is better for me, and take me when death is better for me' (Sahih al-Bukhari and Sahih Muslim, from Anas). Suicide is forbidden, and a person who knows his time should also avoid wasting the days in despair or distraction. Scholars say that the best response is to put the heart in order, stay in company with the righteous and rely on Allah (tawakkul).
Conclusion
A believer who was told he had one week would be advised to repent, return rights and debts, write a will, keep the obligatory acts, increase prayer, Qur'an and charity, forgive and ask forgiveness, and hold a good opinion of Allah. The same plan is wise for every day, since none of us knows the hour.
References
Qur'an: 17:23; 31:34; 39:53.
Sahih al-Bukhari and Sahih Muslim: hadith on being a stranger in the world (Bukhari); hadith on thinking well of Allah (Muslim); hadith on the will (Ibn 'Umar); hadith on three ongoing deeds (Muslim); hadith on not wishing for death (Anas).
Jami' al-Tirmidhi, Sunan al-Nasa'i, Sunan Ibn Majah, Sunan Abi Dawud, Musnad Ahmad: hadith on the destroyer of pleasures, the debt of the believer, repentance until the death rattle and the last words, with gradings by al-Albani.
Al-Nawawi, Riyad al-Salihin (Book of Repentance).
Al-Ghazali, Ihya' 'Ulum al-Din, Book of Remembering Death and What Follows.
Ibn al-Qayyim, Madarij al-Salikin.