Answered by Ustadh Tabraze Azam
Has the funeral prayer any wajib (compulsory components)?
Is the du’a considered obligatory or an emphasized sunnah?
Answer: Wa alaikum assalam wa rahmatullah,
The only necessary (wajib) component of the funeral (janaza) prayer is the closing salams. Otherwise, the remaining actions are integrals (fard), such as the takbirs and the standing; or sunnas, such as the supplication after the third takbir. Some held the supplication at this point to be obligatory, such as Ibn al-Humam and those who followed him, yet this is not the relied upon position in the Hanafi school.
[Shurunbulali, Maraqi al-Falah (2.226-227); Fath al-Qadir (2.81)]
Please also see: Reader on the funeral prayer
And Allah Most High alone knows best.
Checked & Approved by Shaykh Faraz Rabbani