I want to ask that I was leading the funeral salah of my grandfather and by mistake I recited Bismillah Hir Rahman Nir Rahem after the sana and then recited durood and then the dua of a funeral salah. Is the funeral prayer valid if not then now what can I do for repentance. Please answer ASAP I am worried about it.

Answered according to Hanafi Fiqh by Darulifta-Deoband.org

بسم الله الرحمن الرحيم

(Fatwa: 279/279/M=03/1437)

In the above mentioned case, the janazah prayer was valid.

Allah knows Best!

Darul Ifta,
Darul Uloom Deoband