Allah and His Messenger had given them and had said, ‘Allah is sufficient for us. Allah will give us of His bounty, and so will His Messenger. To Allah we turn in hope.’”
Surah al-Tawbah, 59.
This contentment is obligatory. Likewise, He censured those who lacked it, saying:
“Among them are those who criticize you concerning the distribution of charity. If they are given some of it, they are pleased; but if they are not given any, they become resentful.”
Surah al-Tawbah, 58.
The second kind is contentment with afflictions, such as poverty, illness, and humiliation. According to one of the two scholarly views, this contentment is recommended, not obligatory. It has also been said that it is obligatory, but the correct view is that patience is what is obligatory. As al-Hasan al-Basrī, may Allah have mercy on him, said: “Contentment is rare, but patience is the believer’s mainstay.”
It is reported in the hadith of Ibn ‘Abbās that the Prophet, may Allah bless him and grant him peace, said to him: “If you can act for Allah’s sake with contentment and certainty, then do so.