عَنِ الْمُغِيرَةِ بْنِ شُعْبَةَ قَالَ: سَمِعْتُ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسلم يَقُول: «من نِيحَ عَلَيْهِ فَإِنَّهُ يُعَذَّبُ بِمَا نِيحَ عَلَيْهِ يَوْم الْقِيَامَة»
Translation

Al-Husain b. ‘Ali reported the Prophet as saying, “If any Muslim man or woman suffers a calamity and keeps it in his memory, even if it happened a long time ago, saying each time it is remembered, ‘We belong to God and to Him do we return,’ God who is blessed and exalted will give a fresh reward each time it is said, equivalent to the reward when it happened.” Ahmad and Baihaqi, in Shu'ab al-lman, transmitted it.