عَنْ جَابِرٍ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «مَنْ مَاتَ عَلَى وَصِيَّةٍ مَاتَ عَلَى سَبِيلٍ وَسُنَّةٍ وَمَاتَ عَلَى تُقًى وَشَهَادَةٍ وَمَاتَ مَغْفُورًا لَهُ» . رَوَاهُ ابْنُ مَاجَهْ
Translation

Jabir reported God’s Messenger as saying, “He who dies leaving a will has died following a path and a sunna, he has died piously and testifying to the true faith, and he has died with his sins forgiven.”Ibn Majah transmitted it.