Shaykh Muhammad Farooq Rafi
Benefits:
➊ These hadiths are evidence that giving charity on behalf of the deceased is permissible and recommended, and the reward of charities given on behalf of the deceased reaches the deceased. Such charities benefit both the deceased and the one giving charity; there is consensus (ijma') of all the people of Islam on this. Moreover, these hadiths specify (make an exception to) the saying of Allah Ta'ala ﴿وَأَنْ لَيْسَ لِلْإِنْسَانِ إِلَّا مَا سَعَى﴾ "And that there is not for man except that for which he strives." [Surah al-Najm: 39] [Sharh al-Nawawi: 84/11]
➋ If the deceased makes a bequest (wasiyyah) for charity and that bequest conforms to the Qur'an and Sunnah, it should be acted upon.
➌ Charity and alms on behalf of the deceased are beneficial for the deceased.
➍ The best charity for the deceased is having a well dug, installing a tap, or arranging water in public places for the benefit of the general public; this is the best kind of charity on behalf of both the living and the dead.
Source: Sahih Ibn Khuzaymah: Commentary by Muhammad Farooq Rafee, Page: 2501