Bakr bin Abdullah (may Allah have mercy on him) says: When you close the eyes of the deceased, say: 'Bismillah wa 'ala millati Rasulillah' (In the name of Allah and upon the religion of the Messenger of Allah (peace and blessings be upon him)), and when you carry him, say: 'Bismillah' (In the name of Allah); then, for as long as you are carrying him, keep saying 'Subhan Allah' (Glory be to Allah).
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الجنائز / 6609