Surah Al-Baqarah (البقرة) · verse 207 (Medinan · Juz 2 · page 32)
وَمِنَ ٱلنَّاسِ مَن يَشْرِى نَفْسَهُ ٱبْتِغَآءَ مَرْضَاتِ ٱللَّهِ وَٱللَّهُ رَءُوفٌۢ بِٱلْعِبَادِ ﴿207﴾
التفسير الميسر
وبعض الناس يبيع نفسه طلبًا لرضا الله عنه، بالجهاد في سبيله، والتزام طاعته. والله رءوف بالعباد، يرحم عباده المؤمنين رحمة واسعة في عاجلهم وآجلهم، فيجازبهم أحسن الجزاء
Sahih International
And of the people is he who sells himself, seeking means to the approval of Allah. And Allah is kind to [His] servants
Marmaduke Pickthall
And of mankind is he who would sell himself, seeking the pleasure of Allah; and Allah hath compassion on (His) bondmen
Abdullah Yusuf Ali
And there is the type of man who gives his life to earn the pleasure of Allah: And Allah is full of kindness to (His) devotees