It is narrated that once the Holy Prophet (s.a.w.s.) went to see a youth that was in his last moments. He told him to recite Kalamae Tawheed
لاَ اِلهَ اِلاَّ الله
There is no god but Allah,
but the youth could not utter it because his tongue had turned speechless. The Prophet repeated his order but with no avail. He repeated it thrice but the youth could not answer. The Prophet turned towards a woman who was seated near the youth’s head and asked her if she was his mother. She replied in the affirmative. He then asked her if she was unhappy with her son. She answered that she was certainly unhappy, but would forgive him if the Prophet commanded her to do so. The Prophet told her to forgive him. As soon as she forgave, the youth’s speech returned and he recited the ‘Kalema’. The Prophet asked him as to what he saw. He answered that he saw an ugly looking man who had held him by the neck, and was trying to strangle him. The Prophet told him to recite the following:
يَامَنْ يَّقْبَلُ الْيَسِيْرَ وَ يَعْفُوْ عَنِ الْكَثِيْرِ اِقْبِلْ مِنِّى الْيَسِيْرَ وَاعْفُ عَنِّى الْكَثِيْرَ اِنَّكَ اَنْتَ الْغَفُوْرُ الرَّحِيْمُ.
Yaa man yaqbalul yaseera wa ya’foo a’nil katheera iqbal minnil yaseera wa’fo a’nnil katheera innaka antal ghafoorur rah’eem
When he did so, the Prophet asked him as to what he saw now. He answered that he saw that a handsome man had come to his rescue while the ugly man had turned back. The Prophet ordered him to recite the above du’a again and after having done so asked him what he saw. He replied that the ugly man had left, and the handsome youth was there by his side comforting him. He uttered these words and breathed his last.