‘Amr b. Shu'aib, on his father’s authority, said his grandfather told that al-‘As b. Wa’il left in his will that a hundred slaves should be emancipated on his behalf. His son Hisham emancipated fifty slaves and his son ‘Amr intended to emancipate the remaining fifty on his behalf, but decided first to ask God’s Messenger. He therefore went to the Prophet and said, “Messenger of God, my father left in his will that a hundred slaves should be emancipated on his behalf and Hisham has emancipated fifty on his behalf and fifty remain. Shall I emancipate them on his behalf?” God's Messenger replied, “Had he been a Muslim and you had emancipated slaves on his behalf, or given sadaqa on his behalf, or performed the pilgrimage on his behalf, that would have reached him.”
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.”
Anas reported God’s Messenger as saying, “If anyone deprives an heir of his inheritance, God will deprive him of his inheritance in paradise on the day of resurrection.”
Ibn Majah transmitted it, and Baihaqi transmitted it in Shu'ab al-lman on the authority of Abu Huraira.
Narrated Abu Huraira reported God’s Messenger as saying:
“ A man and a woman act in obedience to God for sixty years then when they are about to die they cause injury by their will, so they must go to hell.” Then Abu Huraira recited, “After a legacy which you bequeathe or a debt, causing no injury ... that will be the mighty success”(Al-Qur’an 4:12).
Ahmad, Tirmidhi, Abu Dawud and Ibn Majah transmitted it.