The author said in Riyaadus Saaliheen: ‘Chapter on charity on behalf of the deceased and praying for him.’
Thereafter, he quoted the statement of Allah - the most High:
“And those who came after them say: our Lord! Forgive us and our brethren who have preceded us in faith, and put not in our hearts any hatred against those who have believed. Our Lord! You are indeed full of kindness, most merciful.” (Al-Hashr: 10)
“And those who came after them...”
That is, after the two groups of predecessors: The Muhajirun (Emigrants) and the Ansar (Helpers: those who had home in Madeenah and had adopted the faith). This Ummah consists of three groups: The Muhajirun, the Ansar and those who came after them. Allah – the most High - mentioned all of them together in two verses of the Qur'an:
“And the first to embrace Islam of the Muhajirun (those who migrated from Makkah to Madeenah) and the Ansar (the citizens of Al- Madinah who helped and gave aid to the Muhajirun) and also those who followed them exactly (in faith). Allah is well- pleased with them as they are well- pleased with Him.”(At-Taubah: 100)
Also in Surat Al- Hashr:
“(And there is also a share in this booty) for the poor emigrants, who were expelled from their homes and their property seeking bounties from Allah and to please Him. And helping Allah (that is, helping His Religion) and His Messenger (Muhammad ﷺ) – such are indeed the truthful (to what they say), - And those who before
them had homes (in Madeenah) and had adopted faith, - love those who emigrate to them, and have no Jealousy in their breasts for that which they have been given (from the booty of Banu An-Nadir), and give them (emigrants) preference over themselves, even though they were in need of that. And whosoever is saved from his own covetousness, such are they who will be successful. And those who came after them say: "our Lord! Forgive us and our brethren. Who have preceded us in faith and put not in our hearts any hatred against those who have believed. Our Lord! You are indeed full of kindness, most merciful." (Al-Hashr 59: 8-10)
So, if you see a man seeking Allah's mercy and forgiveness for the companions of the Prophet and loving them, then know that he will be with them. If you see a man abusing the companions of the Prophet, not seeking mercy for them nor seeking forgiveness for them, then know that they are free of him as he is from of them. He has no portion in this Ummah because the companions of the Prophet are the intermediaries between the Messenger of Allah ﷺ and us. They conveyed the Sharee'ah of Allah from the Messenger of Allah ﷺ and us. He ﷺ is the intermediary between our Lord and us; the one who conveyed the speech of our Lord to us. When a person denigrates the intermediary between the Messenger of Allah ﷺ and us, the person has denigrated the entire Sharee'ah. The Sharee'ah will have no value if all those who conveyed it to us are criminals and evil people.
Importantly, no one disparages Aboo Bakr and Umar except one who lacks even a mustard seed worth of faith in his heart. They - may Allah be pleased with them - are the best of the followers of the Messengers in generality. There is no follower of Musa عليه السلام, Ibrahim عليه السلام, Isa عليه السلام or Muhammad better than Aboo Bakr and Umar. Whoever disparages them has no shred of faith in his heart - may Allah forbid. So also, whoever abuses or derides the companions of the Prophet has derided the Religion of Allah, Honored and Glorious.
This why He - the most High - said:
“And those who came after them say: Our Lord! Forgive us and our brethren who have preceded in faith.” (Al-Hashr 10)
Thereafter, the author buttressed his point with the hadeeth of A'aishah - may Allah be pleased with her - that a man said: 'O Messenger of Allah, my mother lost her soul,' that is, she died, 'had she spoken she could have given in charity, should I give charity on her behalf.' He said: 'Yes.'
This shows that it is permissible to give charity on behalf of the deceased. So, when you want to give charity, you should intend that this is for your mother, father, brother, sister or any deceased Muslim. This would benefit the person. As for supplicating for the deceased, the hadeeth of Aboo Hurairah states: 'When a person dies, his deeds end,' because the abode of deeds is this earthly abode. When a person dies, that is the end. There is no deed after death.
'When a person dies, his deeds end except for three things: continuous charity,' that is, he (the deceased) had established a foundation, a housing project or anything for the poor. 'Or knowledge from which people continue to benefit,' that is, after his demise. 'Or a righteous child who supplicate for him,' because a child that is not righteous would not supplicate for his parents nor be good to them. However, the pious child supplicates for his parents after their demise. Hence, it is really important to strive to raise our children to be righteous; their piety will be good for them and beneficial to us as they would supplicate for us after our demise.
The best of these three things is knowledge from which people continue to benefit. I will give you an example, rather, several examples: Aboo Hurairah - may Allah be pleased with him - was one of the most knowledgeable companions of the Prophet ﷺ. Sometimes he would slump due to extreme hunger but most Muslims only read his narrations. He has conveyed those (numerous) hadeeths to us and this is a continuous charity even if he performed no other charity during his lifetime! Imam Ahmad and Shaykhul-Islam Ibn Taimiyah - may Allah shower blessings on them both - teach us though they are presently in their graves. This is because we have their books with us.
Consider the great caliph and the greatest merchant of the time of Ibn Taimiyah, did we benefit from them today?! No! Therefore, knowledge is the most beneficial of the three. Continuous charity will eventually cease and a righteous child will die, but knowledge from which Muslims continue to benefit will last till Allah wills! O brother, hasten to acquire knowledge as nothing is comparable to it, as Imam Ahmad said, 'for the one who makes his intention good.' So, hasten to acquire knowledge, the foundations of knowledge and the subsidiaries, such as Arabic grammar and other things to assist learning. Thus, Allah may benefit you and benefit others through you.'
Allah alone grants success.