Ata said: "Offer the funeral prayer over whoever prayed facing your qiblah (whatever he may be like)."