أَخْبَرَنَا أَبُو عَبْدِ اللَّهِ الْحَافِظُ ، أَخْبَرَنِي أَبُو عَبْدِ اللَّهِ مُحَمَّدُ بْنُ إِبْرَاهِيمَ الْمُؤَذِّنُ قَالَ سَمِعْتُ مُحَمَّدَ بْنَ عِيسَى الزَّاهِدَ ، يَقُولُ فِيمَا بَلَغَنَا أَنَّ عَبْدَ الرَّحْمَنِ بْنَ مَهْدِيٍّ مَاتَ لَهُ ابْنٌ فَجَزِعَ عَلَيْهِ جَزَعًا شَدِيدًا حَتَّى امْتَنَعَ مِنَ الطَّعَامِ وَالشَّرَابِ فَبَلَغَ ذَلِكَ مُحَمَّدَ بْنَ إِدْرِيسَ الشَّافِعِيَّ رَحِمَهُ اللَّهُ فَكَتَبَ إِلَيْهِ : أَمَّا بَعْدُ! فَعَزِّ نَفْسَكَ بِمَا تُعَزِّي بِهِ غَيْرَكَ ، وَلْتَسْتَقْبِحْ مِنْ فِعْلِكَ مَا تَسْتَقْبِحُهُ مِنْ فِعْلِ غَيْرِكَ ، وَاعْلَمْ أَنَّ أَمْضَى الْمَصَائِبِ فَقْدُ سُرُورٍ مَعَ حِرْمَانِ أَجْرٍ فَكَيْفَ إِذَا اجْتَمَعَا عَلَى اكْتِسَابِ وِزْرٍ وَأَقُولُ :
إِنِّي مُعَزِّيكَ لَا أَنِّي عَلَى طَمَعٍ مِنَ الْخُلُودِ وَلَكِنْ سَنَةُ الدِّينِ فَمَا الْمُعَزِّي بِبَاقٍ بَعْدَ صَاحِبِهِ
وَلَا الْمُعَزَّى وَلَوْ عَاشَا إِلَى حِينِ
قَالَ : وَكَانُوا يَتَهَادَوْنَهُ بَيْنَهُمْ بِالْبَصْرَةِ .
Imam Muhammad bin Isa al-Zahid (may Allah have mercy on him) said, according to a report that reached us, that a son of Imam Abd al-Rahman bin Mahdi (may Allah have mercy on him) died, and he grieved over him so severely that he gave up eating and drinking. When this news reached Imam Muhammad bin Idris al-Shafi'i (may Allah have mercy on him), he wrote to him: "To proceed: Console yourself with what you console others with, and regard as ugly in your own conduct what you regard as ugly in the conduct of others. Know that the most piercing affliction is losing a joy while also being deprived of reward; so how will it be when both of these combine with earning sin! And I say (these verses):
I console you not because I have any hope of living forever, but because it is the way of the religion.
Neither the one who consoles will remain after his companion,
nor the one consoled, even if both live on for a while."
The narrator said: "And in Basra people used to send it (the letter and verses) to one another as a gift."