Dua for the Deceased/Maghfirat ki Dua
Umm Salama narrated that The Messenger of Allah (ﷺ) visited Abu Salama as he died. His eyes remained fixedly open. He shut them and replied,
“When the soul is taken away, the sight follows it”. Some members of his family cried and wailed. So he answered, “Do not pray for yourselves anything but beneficial, for angels will say Amen to whatever you say.” He then prayed:
اللَّهُمَّ اغْفِرْ لِأَبِي سَلَمَةَ وَارْفَعْ دَرَجَتَهُ فِي الْمَهْدِيِّينَ وَاخْلُفْهُ فِي عَقِبِهِ فِي الْغَابِرِينَ وَاغْفِرْ لَنَا وَلَهُ يَا رَبَّ الْعَالَمِينَ وَافْسَحْ لَهُ فِي قَبْرِهِ وَنَوِّرْ لَهُ فِيهِ
Allahummaghfir li Abi Salamata, warfa’ darajatahu fil mahdiyeen, wakhlufhu fi ‘aqibihi fil ghaabireen, waghfir lana wa lahu ya Rabbal ‘Aalameen, wafsah lahu fi qabrihi, wa nawwir lahu feehi.
Reference: Sahih Muslim 2130
Dua for the Deceased/Maghfirat ki Dua in English
“O Allah, forgive Abu Salamah, elevate his status among the guided, replace him with a worthy descendant among those who remain, forgive us and him, O Lord of the worlds. Make his grave spacious and grant him light in it.”

Dua for the Deceased/Maghfirat ki Dua in Urdu
اے اللہ! ابو سلمہ کو بخش دے، اس کا درجہ ہدایت یافتہ لوگوں میں بلند فرما، اس کے بعد آنے والوں میں اس کا جانشین بن، ہمیں اور اسے بخش دے، اے رب العالمین! اس کی قبر کو کشادہ کر دے اور اس میں روشنی فرما۔

Why Should We Pray for the Deceased
In Islam, the deeds of a person end with their death, except for three things:
The Prophet Muhammad (ﷺ) said:
إِذَا مَاتَ الْإِنْسَانُ انْقَطَعَ عَنْهُ عَمَلُهُ إِلَّا مِنْ ثَلَاثَةٍ: إِلَّا مِنْ صَدَقَةٍ جَارِيَةٍ، أَوْ عِلْمٍ يُنْتَفَعُ بِهِ، أَوْ وَلَدٍ صَالِحٍ يَدْعُو لَهُ
Idha mata al-insanu inqata’a ‘anhu ‘amaluhu illa min thalath: illa min sadaqatin jariyah, aw ‘ilmin yuntafa’u bihi, aw waladin salihin yad’u lahu.
When a person dies, all their deeds come to an end except three: ongoing charity, beneficial knowledge, and a righteous child who prays for them.
جب انسان مر جاتا ہے تو اس کے تمام اعمال ختم ہو جاتے ہیں، سوائے تین چیزوں کے: صدقہ جاریہ، وہ علم جس سے فائدہ اٹھایا جائے، اور نیک اولاد جو اس کے لیے دعا کرے
Reference: Sahih Muslim 1631, Jami at-Tirmidhi 1376
Also Read: Dua e Istikhara/Dua for Istikhara
