Nahj al-Balāgha
Hadith 2176يَا أَشْعَثُ، إِنْ تَحْزَنْ عَلَى ابْنِكَ فَقَدِ اسْتَحَقَّتْ مِنْكَ ذَلِكَ الرَّحِمُ، وَإِنْ تَصْبِرْ فَفِي اللهِ مِنْ كُلِّ مُصِيبَةٍ خَلَفٌ.
O’ Ash‘ath, if you grieve over your son, certainly it is the consequence of the blood relationship; but if you endure, then Allāh provides recompense for every affliction.