اختلف في تاريخ وفاته والصحيح أنها كانت يوم الأحد لتمام اثنين وعشرين يوما من مرضه في ربيع الأول سنة تسع وسبعين ومائة فقيل: لعشر مضت منه وقيل: لأربع عشرة ولثلاث عشرة ولإحدى عشرة وقيل لثنتي عشرة من رجب. وقال حبيب كاتبه ومطرف: سنة ثمانين. وحكي عن بن إسحاق ثمان وتسعين وهو وهم.
There is disagreement about the date of his death. The sound view is that it was on Sunday, at the completion of twenty-two days of his illness, in Rabiʿ al-Awwal of the year 179; it is said: when ten had passed of it, and it is said: fourteen, thirteen and eleven; and it is said: on the twelfth of Rajab. Habib his secretary and Mutarrif said: the year 180. It is related from Ibn Ishaq: ninety-eight, which is an error.
واختلف على هذا وعلى الخلاف المتقدم في مولده في مقدار سنه من أربع وثمانين إلى اثنين وتسعين. قال بكر بن سليمان الصواف: دخلنا على مالك بن أنس في العشية التي قبض فيها فقلنا له: يا أبا عبد الله كيف تجدك؟ قال ما أدري كيف أقول لكم إلا أنكم ستعاينون غدا من عفو الله ما لم يكن في حساب ثم ما برحنا حتى أغمضناه رحمه الله. وقيل إنه تشهد ثم قال: لله الأمر من قبل ومن بعد.
Accordingly, and on account of the disagreement already mentioned about his birth, there is disagreement about his age, from eighty-four to ninety-two. Bakr ibn Sulayman al-Sawwaf said: We went in to Malik ibn Anas on the evening in which he died and said to him: O Abu ʿAbd Allah, how do you find yourself? He said: I do not know what to say to you, except that tomorrow you will see of God's pardon what was beyond reckoning. Then we did not leave until we had closed his eyes, God have mercy on him. It is said that he pronounced the testimony of faith and then said: To God belongs the command, before and after.
ورأى عمر بن يحيى بن سعيد الأنصاري في الليلة التي مات فيها مالك قائلا يقول:
ʿUmar ibn Yahya ibn Saʿid al-Ansari saw, on the night in which Malik died, someone saying:
لقد أصبح الإسلام زعزع ركنه ... غداة ثوى الهادي لدى ملحد القبر
Islam has come to have its pillar shaken ... on the morning the guide came to rest in the niche of the grave,
إمام الهدى ما زال للعلم صائنا ... عليه سلام الله في آخر الدهر
the imam of guidance, who never ceased guarding knowledge; ... upon him be the peace of God to the end of time.
قال: فانتبهت وكتبت البيتين في السراج وإذا بصارخة على مالك رحمه الله تعالى.
He said: I woke up and wrote the two lines by the lamp, and then there was a woman crying out over Malik, God Most High have mercy on him.