Will is the book written by the Messenger of Allah during the final moments of his life

And the Will is a book written by the Messenger of Allah pbuhap during the final moments of his life, in obedience to His saying swt, {180 Prescribed for you when death approaches one of you if he leaves a will [is that he should make] a bequest for the parents and near relatives according to what is acceptable – a duty upon the righteous.}