عَنْ أَبِي هُرَيْرَةَ رَضِيَ اللَّهُ عَنْهُ أَنَّ رَجُلًا أَتَى النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ فَقَالَ يَا رَسُولَ اللَّهِ أَيُّ الْأَعْمَالِ أَفْضَلُ قَالَ الْإِيمَانُ بِاللَّهِ وَالْجِهَادُ فِي سَبِيلِ اللَّهِ قَالَ فَإِنْ لَمْ أَسْتَطِعْ ذَلِكَ قَالَ احْبِسْ نَفْسَكَ عَنِ الشَّرِّ فَإِنَّهَا صَدَقَةٌ تَصَدَّقُ بِهَا عَلَى نَفْسِكَ
It is narrated from Sayyiduna Abu Hurairah (may Allah be pleased with him) that a man came to the Noble Prophet (peace and blessings be upon him) and said: O Messenger of Allah! Which deed is the best? He (peace and blessings be upon him) said: To have faith in Allah and to strive in His path. He said: What if I do not have the strength to do that? He (peace and blessings be upon him) said: Then restrain your soul from evil, for this too will be a charity that you do for your own self.