كتاب الجنائز
11  
The Book of Prayer - Funerals
(21)
Chapter: What was narrated concerning one who finds relief and one from whom relief is found
(21)
باب مَا جَاءَ فِي ‏"‏ مُسْتَرِيحٌ وَمُسْتَرَاحٌ مِنْهُ ‏"‏ ‏‏
Sahih Muslim 950 a

Qatada b. Rib'i reported Allah's Messenger (ﷺ) as saying:

Whenever a bier passed before him, he said: He is the one to find relief and the one with (the departure of him) other will find relief. They said: Apostle of Allah, who is al-Mustarih and al-Mustarah? Upon this he said: The believing servant finds relief from the troubles of the world, and in the death of a wicked person, the people, towns, trees and animals find rellef.
وَحَدَّثَنَا قُتَيْبَةُ بْنُ سَعِيدٍ، عَنْ مَالِكِ بْنِ أَنَسٍ، فِيمَا قُرِئَ عَلَيْهِ عَنْ مُحَمَّدِ بْنِ عَمْرِو، بْنِ حَلْحَلَةَ عَنْ مَعْبَدِ بْنِ كَعْبِ بْنِ مَالِكٍ، عَنْ أَبِي قَتَادَةَ بْنِ رِبْعِيٍّ، أَنَّهُ كَانَ يُحَدِّثُ أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم مُرَّ عَلَيْهِ بِجَنَازَةٍ فَقَالَ ‏"‏ مُسْتَرِيحٌ وَمُسْتَرَاحٌ مِنْهُ ‏"‏ ‏.‏ قَالُوا يَا رَسُولَ اللَّهِ مَا الْمُسْتَرِيحُ وَالْمُسْتَرَاحُ مِنْهُ ‏.‏ فَقَالَ ‏"‏ الْعَبْدُ الْمُؤْمِنُ يَسْتَرِيحُ مِنْ نَصَبِ الدُّنْيَا وَالْعَبْدُ الْفَاجِرُ يَسْتَرِيحُ مِنْهُ الْعِبَادُ وَالْبِلاَدُ وَالشَّجَرُ وَالدَّوَابُّ ‏"‏ ‏.‏
Reference : Sahih Muslim 950a
In-book reference : Book 11, Hadith 80
USC-MSA web (English) reference : Book 4, Hadith 2075
  (deprecated numbering scheme)