Sunan Abi Dawud, Book 18, Hadith 20 (Abu Dawud 2882)

Narrated Aisha, Ummul Mu'minin:

A woman said: Messenger of Allah, my mother suddenly died; if it had not happened, she would have given sadaqah (charity) and donated (something). Will it suffice if I give sadaqah on her behalf? The Prophet (ﷺ) said: Yes, give sadaqah on her behalf.