Sunan an-Nasa'i, Book 30, Hadith 45 (Nasa'i 3663)

It was narrated from Ibn 'Abbas that a man said:

"O Messenger of Allah, my mother died; will it benefit her if I give in charity on her behalf?" He said: "Yes." He said: "I have a garden and I ask you to bear witness that I am giving it in charity on her behalf."