
According to Islamic scholars, performing rafa yadain—raising both hands up to the shoulders—is Sunnah in the funeral prayer. It is narrated in Sunan Bayhaqi (5/379) from Hazrat Anas (RA) that the Prophet Muhammad (peace be upon him) used to raise his hands when saying the takbeer in the funeral prayer. Based on this narration, scholars have agreed that raising hands during every takbeer in the janaza prayer is Sunnah.