Sayyiduna Abdullah bin Abi Awfa (may Allah be pleased with him) says: We were with the Prophet (peace and blessings be upon him) when a man came to him and said: "There is a young man who is breathing his last. He was told: 'Say La ilaha illallah,' but he could not say it." The Prophet (peace and blessings be upon him) asked: "Did he use to pray?" The man replied: "Yes." The Prophet (peace and blessings be upon him) got up, and we got up with him. The Prophet (peace and blessings be upon him) came to the young man and said to him: "Say La ilaha illallah." He said: "I cannot say it." The Prophet (peace and blessings be upon him) asked: "Why is that?" The narrator says: He used to be disobedient to his parents. The Prophet (peace and blessings be upon him) asked: "Is his mother alive?" The people said: "Yes." The Prophet (peace and blessings be upon him) said: "Call her and bring her here." They called the woman and brought her, and she came. The Prophet (peace and blessings be upon him) asked: "Is this your son?" She replied: "Yes." The Prophet (peace and blessings be upon him) asked the woman: "What do you think: if a fire were kindled and you were then told, 'If you intercede for this boy, we will let him go; otherwise we will burn him in this fire,' would you intercede for him?" The woman said: "O Messenger of Allah, in that case I would intercede." The Prophet (peace and blessings be upon him) said: "Then make Allah and me witnesses and say that you are pleased with him." The woman said: "O Allah, I make You my witness and I make Your Messenger my witness that I am pleased with my son." The Prophet (peace and blessings be upon him) said to the young man: "O boy, now say: There is no god but Allah, He has no partner, and I bear witness that Sayyiduna Muhammad (peace and blessings be upon him) is His servant and His Messenger." The young man said those words, and the Prophet (peace and blessings be upon him) said: "All praise belongs to Allah, who has saved him from Hell through me."
Al-Tabarani recorded it, and Ahmad recorded it in a much abridged form; its chain contains a narrator, Fa'id Abu al-Warqa', who is matruk (abandoned).