Also Abu Hurairah reported, "The Prophet, peace be upon him, said, 'The righteous works that continue to benefit a believer after his death include the knowledge that he taught and spread among others, a righteous son whom he leaves behind, or a copy of the Qur'an that he bequeaths to his inheritors, or a mosque that he builds, or a rest house that he builds for the wayfarers, or a canal of water that he digs for the benefit of others, or a charity that he gives out of his property during his life while he is sound of health. He will continue to receive reward for all these even after his death.' (Ibn Majah)