Hadithcore
Bulugh al-Maram, 563

Jabir (RAA) narrated that the Messenger of Allah (ﷺ) used to say four Takbirat over the dead, and would recite al-Fatihah in (after saying) the first (opening) Takbirat.’ Related by Ash-Shafi’i with a weak chain of narrators.

وَعَنْ جَابِرٍ ‏- رضى الله عنه ‏- قَالَ: { كَانَ رَسُولُ اَللَّهِ ‏- صلى الله عليه وسلم ‏-يُكَبِّرُ عَلَى جَنَائِزِنَا أَرْبَعًا وَيَقْرَأُ بِفَاتِحَةِ اَلْكِتَابِ فِي اَلتَّكْبِيرَةِ اَلْأُولَى } رَوَاهُ اَلشَّافِعِيُّ بِإِسْنَادٍ ضَعِيفٍ [1]‏ .‏

References2 variants
In-Book Reference
Book 3, Hadith 31
English Reference
Book 3, Hadith 587