May Allah reward you abundantly for making your valuable time available to us. Ameen
Answer
There is a difference between the two situations.
Answers 569 and 1264 refers to a non-Muslim’s funeral and 1672 refers to a Muslim’s funeral.
and Allah Ta’ala Knows Best
Mufti Ebrahim Desai