Fiqh-us-Sunnah Volume 4, Funerals and Dhikr, Fiqh 4.056B.

Section : Carrying torches or fire in a funeral procession.

These are forbidden as they are vestiges of the Days of Ignorance. Ibn Al-Munzhir said: “This practice is disliked by all men of knowledge and scholars on record. Al-Baihaqi said: ‘Aishah, ‘Ubadah ibn Al-Samit, Abu Hurairah, Abu Sa’id Al-Khudri, and Asma, the daughter of Abu Bakr, all stated in their respective wills that their funeral processions should not include anyone carrying fire (or torches). According to Ibn Majah, Abu Musa Al-Ash’ari, on his deathbed, directed his heirs, saying: “Do not follow my funeral procession carrying any censers (with fires in them to burn frankincense for its aromatic smoke and fragrance).” The people asked him: “Did you hear anything from the Prophet concerning this?” He said: “Yes, I heard the Prophet, peace be upon him, saying so. (Among the narrators of this hadith is a man called Abu Huraiz, the freed slave of Mu’awiyah, who is “unknown” amongst the narrators of hadith)

If the burial takes place at night, however, fire or torches may be used for light. Tirmizhi has reported on the authority of Ibn Abbas that once at night the Prophet, peace be upon him, entered a grave to bury a dead person, and a lantern was given to him and he took it.” Tirmizhi said: This hadith from Ibn ‘Abbas is sound.