People from another village performing the funeral prayer and burying the deceased.
Performing the funeral prayer over the deceased is Fard-e-Kifayah (a communal obligation), therefore, if the neighbors and the people of the village of the deceased are unable to participate in the shrouding and burial of the deceased, and three, four, five, or ten people from another village collectively perform the funeral prayer and bury him, then this is correct; there is no harm in it. (Kitab al-Nawazil / Vol: 6 / Page: 126)