Prophet (SAW)'s Prayers

When going to the deceased's house
Every person going to the house of the mayyit should recite:
اللَّهُمَّ اغْفِرْ لِي وَلَهُ وَأَعْقِبْنِي مِنْهُ عُقْبَى حَسَنَةً
"O Allah, forgive me and him and grant us a better substitute for grief".

(Hisnul Hasin)
When placing the dead person on the platform or whilst carrying them recite:
بِسْمِ اللَّهِ
(Hisnul Hasin from Ibn Abi Shaiba/Mokufaan Ali Ibn Umar (R.A.))