It is narrated from Sayyiduna Ali (may Allah be pleased with him) that he said: the Messenger of Allah (peace and blessings be upon him) said: "Whoever's last words are 'La ilaha illallah' (There is none worthy of worship except Allah) will not enter the Fire."
No one narrated this hadith from Ata (may Allah have mercy on him) except Abu al-Ahwas (may Allah have mercy on him).
Hadith Referenceالمعجم الأوسط / باب الألف / 574
Hadith Gradingمحدثین:إسناده ضعيف، فيه أبو بلال الأشعري ضعفه الدارقطني
Hadith Takhrij«قال الهيثمي: فيه أبو بلال الأشعري ضعفه الدارقطني «مجمع الزوائد ومنبع الفوائد، ج 2، ص 323»»