Al-Baqarah 2:207
وَمِنَ ٱلنَّاسِ مَن يَشْرِى نَفْسَهُ ٱبْتِغَآءَ مَرْضَاتِ ٱللَّهِ ۗ وَٱللَّهُ رَءُوفٌۢ بِٱلْعِبَادِ
Wamina annasi man yashreenafsahu ibtighaa mardati Allahi wallahuraoofun bilAAibad
And of the people is he who sells himself, seeking means to the approval of Allāh. And Allāh is Kind to [His] servants.
And among men there is one who sells his very soul to seek the pleasure of Allah, and Allah is Very-Kind to His servants.