It was narrated from Ibn ‘Abbas that the Prophet (ﷺ) recited the Opening of the Book (Al-Fatihah) in the funeral prayer.
Umm Sharik Al-Ansari said: “The Messenger of Allah (ﷺ) commanded us to recite the Opening of the Book (Al-Fatihah) in the funeral prayer.”