Malik related to me from Nafi from Abdullah ibn Umar that the Messenger of Allah ﷺ said, "It is the duty of a muslim man who has something to be given as a bequest not to spend two nights without writing a will about it."
Malik said, "The generally agreed-on way of doing things in our community is that when the testator writes something in health or illness as a bequest, and it has freeing slaves or things other than that in it, he can alter it in any way he chooses, until he is on his deathbed. If he prefers to abandon a bequest or change it, he can do so unless he has made a slave mudabbar (to be freed after his death). If he has made him mudabbar, there is no way to change what he has made mudabbar. He is allowed to change his testament because the Messenger of Allah ﷺ said, "It is the duty of a muslim man who has something to be given as a bequest not to spend two nights without writing a will about it." Malik explained, "Had the testator not been able to change his will nor what was mentioned in it about freeing slaves, each testator might withhold making bequests from his property, whether in freeing slaves or other than it. A man gives a bequest in his health and in his travelling." (i.e. he does not wait till his death bed ) . Malik summed up, "The way of doing things in our community about which there is no dispute is that he can change whatever he likes of that except for the mudabbar."
أنَّ رَسُولَ اللَّهِ ﷺ قالَ: «ما حَقُّ امْرِئٍ مُسْلِمٍ، لَهُ شَيْءٌ يُوصى فِيهِ، يَبِيتُ لَيْلَتَيْنِ إلّا ووَصِيَّتُهُ عِنْدَهُ مَكْتُوبَةٌ» قالَ مالِكٌ، عَنْ نافِعٍ، عَنْ عَبْدِ اللَّهِ بْنِ عُمَرَ، أنَّ رَسُولَ اللَّهِ ﷺ قالَ: «ما حَقُّ امْرِئٍ مُسْلِمٍ، لَهُ شَيْءٌ يُوصى فِيهِ، يَبِيتُ لَيْلَتَيْنِ إلّا ووَصِيَّتُهُ عِنْدَهُ مَكْتُوبَةٌ»
قالَ مالِكٌ: «الأمْرُ المُجْتَمَعُ عَلَيْهِ عِنْدَنا، أنَّ المُوصِيَ إذا أوْصى فِي صِحَّتِهِ أوْ مَرَضِهِ بِوَصِيَّةٍ، فِيها عَتاقَةُ رَقِيقٍ مِن رَقِيقِهِ، أوْ غَيْرُ ذَلِكَ، فَإنَّهُ يُغَيِّرُ مِن ذَلِكَ ما بَدا لَهُ ويَصْنَعُ مِن ذَلِكَ ما شاءَ حَتّى يَمُوتَ. وإنْ أحَبَّ أنْ يَطْرَحَ تِلْكَ الوَصِيَّةَ، ويُبْدِلَها، فَعَلَ. إلّا أنْ يُدَبِّرَ مَمْلُوكًا. فَإنْ دَبَّرَ، فَلا سَبِيلَ إلى تَغْيِيرِ ما دَبَّرَ». وذَلِكَ أنَّ رَسُولَ اللَّهِ ﷺ قالَ: «ما حَقُّ امْرِئٍ مُسْلِمٍ. لَهُ شَيْءٌ يُوصى فِيهِ. يَبِيتُ لَيْلَتَيْنِ إلّا ووَصِيَّتُهُ عِنْدَهُ مَكْتُوبَةٌ» قالَ مالِكٌ: «فَلَوْ كانَ المُوصِي لا يَقْدِرُ عَلى تَغْيِيرِ وصِيَّتِهِ، ولا ما ذُكِرَ فِيها مِنَ العَتاقَةِ. كانَ كُلُّ مُوصٍ قَدْ حَبَسَ مالَهُ الَّذِي أوْصى فِيهِ مِنَ العَتاقَةِ وغَيْرِها، وقَدْ يُوصِي الرَّجُلُ فِي صِحَّتِهِ وعِنْدَ سَفَرِهِ» قالَ مالِكٌ: «فالأمْرُ عِنْدَنا الَّذِي لا اخْتِلافَ فِيهِ، أنَّهُ يُغَيِّرُ مِن ذَلِكَ ما شاءَ غَيْرَ التَّدْبِيرِ»