It is narrated from Sayyiduna Anas bin Malik (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "Whoever lights a lamp in one of the mosques of Allah Almighty, the angels and the angels who carry the Throne continue to seek forgiveness for him as long as the light of that lamp remains in that mosque."
This chain is da'if (weak). Imam al-Dhahabi (may Allah have mercy on him) mentioned in al-Mizan that al-Azdi said about al-Hakam bin Masqalah that he is a kadhdhab (liar), and Imam al-Bukhari (may Allah have mercy on him) said that he has 'aja'ib (strange, munkar reports). Then Imam al-Bukhari (may Allah have mercy on him) mentioned a fabricated (mawdu') hadith from him (but its chain contains Ishaq bin Bishr, and he is the real culprit); he said: Abdullah narrated to me, from Ishaq bin Bishr, and then he mentioned it and added: "And whoever gives the call to prayer (adhan) for seven years seeking reward, Allah Almighty will forbid his flesh and blood to the creatures of the earth, that they should eat it in the grave." I (al-Busiri) say: Ali bin al-Madini (may Allah have mercy on him) declared Ishaq bin Bishr a liar, Ibn Hibban (may Allah have mercy on him) said that it is not permissible to write down his hadith except to express amazement at it, and Imam al-Daraqutni (may Allah have mercy on him) declared him a kadhdhab (liar) and matruk (abandoned).
Hadith Referenceإتحاف الخيرة المهرة بزوائد المسانيد العشرة / كتاب المساجد / 999