عَنْ مُعَاذِ بْنِ جَبَلٍ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «مَنْ كَانَ آخِرُ كَلَامِهِ لَا إِلَهَ إِلَّا اللَّهُ دَخَلَ الْجَنَّةَ» رَوَاهُ أَبُو دَاوُد
Translation
Ma'qil b. Yasar reported God’s messenger as saying, “Recite sura. Ya Sin(Qur’an, xxxvi) over your dead.”(This is a literal translation. The meaning is probably those who are on the point of death.) Ahmad, Abu Dawud and Ibn Majah transmitted it.