Fiqh-us-Sunnah Volume 4, Funerals and Dhikr, Fiqh 4.026A.

Section : Death: A Form of Rest.

Bukhari and Muslim reported from Abu Qatadah that once, when the Prophet passed by a funeral, he said: “He is (now) in peace secure from others and others are in peace secure from him.” The people asked: “O Allah’s Messenger! Who is in peace and from whom are others in peace?” He said: “A believing servant (of Allah) is relieved from afflictions of this world upon his death, while upon the death of a wicked person, other people, land, trees, and animals are rid of his evil.”