Hadith on Sadaqah: If you cannot give charity, do not be evil

Abu Dharr reported: I said, “O Messenger of Allah, which deed is best?” The Messenger of Allah, peace and blessings be upon him, said, “Faith in Allah and jihad in His way.” I said, “Which slave is the best to free?” The Prophet said, “One who is valuable to his master and whose price is high.” I said, “What if I cannot afford to do that?” The Prophet said, “Help a craftsman or make something for those without skills.” I said, “O Messenger of Allah, you see I am too weak to do some of these deeds.” The Prophet said, “Restrain your evil from people, for it will be charity on your behalf.

Source: Ṣaḥīḥ al-Bukhārī 2382, Ṣaḥīḥ Muslim 84

Grade: Muttafaqun Alayhi (authenticity agreed upon) according to Al-Bukhari and Muslim

عَنْ أَبِي ذَرٍّ قَالَ قُلْتُ يَا رَسُولَ اللَّهِ أَيُّ الْأَعْمَالِ أَفْضَلُ قَالَ الْإِيمَانُ بِاللَّهِ وَالْجِهَادُ فِي سَبِيلِهِ قَالَ قُلْتُ أَيُّ الرِّقَابِ أَفْضَلُ قَالَ أَنْفَسُهَا عِنْدَ أَهْلِهَا وَأَكْثَرُهَا ثَمَنًا قَالَ قُلْتُ فَإِنْ لَمْ أَفْعَلْ قَالَ تُعِينُ صَانِعًا أَوْ تَصْنَعُ لِأَخْرَقَ قَالَ قُلْتُ يَا رَسُولَ اللَّهِ أَرَأَيْتَ إِنْ ضَعُفْتُ عَنْ بَعْضِ الْعَمَلِ قَالَ تَكُفُّ شَرَّكَ عَنْ النَّاسِ فَإِنَّهَا صَدَقَةٌ مِنْكَ عَلَى نَفْسِكَ

2382 صحيح البخاري كتاب العتق باب أي الرقاب أفضل

84 صحيح مسلم كتاب الإيمان باب بيان كون الإيمان بالله تعالى أفضل الأعمال