خُذْ مِنْ أَمْوَٰلِهِمْ صَدَقَةً تُطَهِّرُهُمْ وَتُزَكِّيهِم بِهَا وَصَلِّ عَلَيْهِمْ ۖ إِنَّ صَلَوٰتَكَ سَكَنٌ لَّهُمْ ۗ وَٱللَّهُ سَمِيعٌ عَلِيمٌ
“Take from their wealth [O Prophet] charity to purify and bless them, and pray for them — surely your prayer is a source of comfort for them. And Allah is All-Hearing, All-Knowing.”
Continues the same passage as 9:102 (already linked to this event) on accepting charity from repentant sinners as purification.