Duaa for Deceased

Recite this duaa during Janaza (Funeral) prayers.
For male deceased person recite:

اللَّهُمَّ اغْفِرْ لَهُ وَارْحَمْهُ وَعَافِهِ وَاعْفُ عَنْهُ ، وَأَكْرِمْ نُزُلَهُ ، وَوَسِّعْ مُدْخَلَهُ ، وَاغْسِلْهُ بِالْمَاءِ وَالثَّلْجِ وَالْبَرَدِ ، وَنَقِّهِ مِنْ الْخَطَايَا كَمَا نَقَّيْتَ الثَّوْبَ الْأَبْيَضَ مِنْ الدَّنَسِ ، وَأَبْدِلْهُ دَارًا خَيْرًا مِنْ دَارِهِ ، وَأَهْلًا خَيْرًا مِنْ أَهْلِهِ ، وَزَوْجًا خَيْرًا مِنْ زَوْجِهِ ، وَأَدْخِلْهُ الْجَنَّةَ ، وَقِهِ فِتْنَةَ الْقَبْرِ وَعَذَابَ النَّارِ

For female deceased person recite:

اللَّهُمَّ اغْفِرْ لَهَا وَارْحَمْهَا وَعَافِهَا وَاعْفُ عَنْهَا ، وَأَكْرِمْ نُزُلَهَا ، وَوَسِّعْ مُدْخَلَهَا ، وَاغْسِلِهَا بِالْمَاءِ وَالثَّلْجِ وَالْبَرَدِ ، وَنَقِّهَا مِنْ الْخَطَايَا كَمَا نَقَّيْتَ الثَّوْبَ الْأَبْيَضَ مِنْ الدَّنَسِ ، وَأَبْدِلْهَا دَارًا خَيْرًا مِنْ دَارِهَا ، وَأَهْلًا خَيْرًا مِنْ أَهْلِهَا ، وَزَوْجًا خَيْرًا مِنْ زَوْجِهَا ، وَأَدْخِلْهَا الْجَنَّةَ ، وَقِهَا فِتْنَةَ الْقَبْرِ وَعَذَابَ النَّارِ

Transliteration

“Allaahumma ighfir lihaayina wa mayitina wa shaahidina wa ghaa’ibina wa sagheerina wa kabeerina wa dhakarina wa unthaana. Allaahumma man ahyaytahu minna fa ahyihi ‘ala’l-Islam wa man tawaffaytahu minna fa tawiffahu ‘ala’l-eemaan. Allaahumma ighfir lahu warhamhu wa ‘aafihi wa a’fu ‘anhu, wa akrim nuzulahu wa wassi’ madkhalahu waghsilhu bi’l-maa’ wa’l-thalj wa’l-barad, wa naqqihi min al-khataaya kama yunaqqa’ al-thawb al-abyad min al-danas. Allaahumma abdilhu daaran khayra min daarihi wa ahlan khayra min ahlihi. Allaahumma adkhilhu al-jannah wa a’idhhu min ‘adhaab il-qabri wa min ‘adhaab il-naar wa afsah lahu fi qabrihi wa nawwir lahu fihi. Allaahumma laa tahrimna ajrahu wa la tadillanaa ba’dahu”.

Translation

(O Allaah, forgive our living and our dead, those who are present among us and those who are absent, our young and our old, our males and our females. O Allaah, whoever You keep alive, keep him alive in Islam, and whoever You cause to die, cause him to die with faith. O Allaah, forgive him and have mercy on him, keep him safe and sound and forgive him, honour the place where he settles and make his entrance wide; wash him with water and snow and hail, and cleanse him of sin as a white garment is cleansed of dirt. O Allaah, give him a house better than his house and a family better than his family. O Allaah, admit him to Paradise and protect him from the torment of the grave and the torment of Hell-fire; make his grave spacious and fill it with light. O Allaah, do not deprive us of the reward and do not cause us to go astray after this).”

Sources

https://islamqa.info/ar/answers/157230
https://islamqa.info/ar/answers/12363/
https://islamqa.info/en/answers/12363/