In order to cleanse and purify them [Prophet], accept a gift out of their property [to make amends] and pray for them- your prayer will be a comfort to them. God is all hearing, all knowing.
Of their goods, take alms, that so thou mightest purify and sanctify them; and pray on their behalf. Verily thy prayers are a source of security for them: And Allah is One Who heareth and knoweth.