The Obligation of Refraining from Prohibited Acts

As for patience from prohibited acts, then it is an obligation, even if the ‘self’ desires and inclines toward them. Allah, exalted is He, said: “And let those who cannot find marriage abstain from prohibited acts until Allah enriches them from His favour.” (al-Nur 24:33) ‘Abstain’ means to abandon what is prohibited. It is similar to what is transmitted in the authentic narration on the authority of Abu Said al-Khudri, may Allah be pleased with him, that the Prophet, may Allah’s peace and blessings be upon him, said: “He who abstains from prohibited acts, Allah will protect him from them, and he who is content with what little Allah has bestowed on him, Allah will enrich him, and he who is patient, Allah will help him be patient. And no one has been given a gift better and more generous than patience.” (Bukhari)

The person who is content with the little Allah has bestowed on him does not seek to be exalted with his heart, and the person who abstains from prohibited acts does not ask of people with his tongue. And the person who is being patient is the one who does not feign patience because it is reported that he who is patient, Allah will help him be patient. However, this is as if it is in the context of patience with poverty, so as to endure the bitterness of need and worry, not about his state of poverty i.e. He is patient in hardship and distress, as Allah, exalted is He, said: “And those who are patient with poverty and hardship and the moment when battle is fierce.” (al-Baqrah 2:177)

Gardens of Purification by Ibn Taymiyyah Pages 46-47