Mishkat al-Masabih 1603
وَعَنْ أَبِي قَتَادَةَ أَنَّهُ كَانَ يُحَدِّثُ أَنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ مُرَّ عَلَيْهِ بِجِنَازَةٍ فَقَالَ: «مُسْتَرِيحٌ أَوْ مُسْتَرَاحٌ مِنْهُ» فَقَالُوا: يَا رَسُولَ اللَّهِ مَا المستريح والمستراح مِنْهُ؟ فَقَالَ: «الْعَبْدُ الْمُؤْمِنُ يَسْتَرِيحُ مِنْ نَصَبِ الدُّنْيَا وَأَذَاهَا إِلَى رَحْمَةِ اللَّهِ وَالْعَبْدُ الْفَاجِرُ يستريح مِنْهُ الْعباد والبلاد وَالشَّجر وَالدَّوَاب»
From Abu Qatadah, that he used to narrate that a funeral passed by the Messenger of Allah ﷺ, and he said: "[He is] one relieved, or one from whom [others] are relieved." They said: "O Messenger of Allah, what is the one relieved and the one from whom [others] are relieved?" He said: "The believing servant is relieved from the toil and harm of this world to the mercy of Allah; and from the wicked servant, people, lands, trees and animals are relieved."