“The Messenger of Allah (ﷺ) commanded us to recite the Opening of the Book (Al-Fatihah) in the funeral prayer.”
Sunan Ibn Majah Book 6, Hadith 64