It is narrated from Makhul (may Allah have mercy on him) that Sayyiduna Mu'adh bin Jabal (may Allah be pleased with him) fell ill and his companions came to visit him. He (may Allah be pleased with him) said: "Seat me up." When they had seated him, he said: I heard something from the Messenger of Allah (peace and blessings be upon him); he (peace and blessings be upon him) said: "Whoever's last words at the time of death are 'La ilaha illa Allah wahdahu la sharika lah' (there is none worthy of worship except Allah, alone, He has no partner), this word wipes out all his previous sins and errors; so prompt your dying ones to say it." It was said: O Abu Abd al-Rahman, how is this word for the living? He said: "It is far more effective in wiping out (the sins of the living), it is far more effective." Imam Abu Ya'la recorded it with a chain that contains the narrator Faraj bin Fadalah, who is da'if (weak); moreover, the chain is also broken (munqati') between Makhul and Sayyiduna Mu'adh bin Jabal (may Allah be pleased with him). However, Imam Abu Dawud recorded this part of it in his Sunan: "Whoever's last words are 'La ilaha illa Allah' enters Paradise."
Hadith Takhrij«رواه أبو يعلى بسند فيه فرج بن فضالة وهو ضعيف، وهو منقطع أيضا بين مكحول ومعاذ بن جبل، وروى أبو داود في سننه منه: "من كان آخر كلامه: لا إله إلا الله دخل الجنة"» «أخرجه سنن أبي داود برقم: 3116، وأخرجه مسند أحمد برقم: 21529، 21622، وأخرجه فتح الباري برقم: 5952، وأخرجه المستدرك على الصحيحين برقم: 1339، 1885، وأخرجه رياض الصالحين برقم: 956»