قرآن ﴿ يا أيها الذين آمنوا لا تحرموا طيبات ما أحل الله لكم ولا تعتدوا إن الله لا يحب المعتدين ﴾ المائدة ٨٧
عن قيس قال سمعت عبدالله يقول كنا نغزو مع رسول الله ﷺ ليس لنا نساءٌ فقلنا ألا نستخصي فنهانا عن ذلك ثم رخّص لنا أن ننكح المرأة بالثوب إلى أجَلٍ ثم قرأ عبدالله ﴿ يا أيها الذين آمنوا لا تحرّموا طيبات ما أحلّ الله لكم ولا تعتدوا إن الله يا يحب المعتدين ﴾ قرآن
صحيح مسلم كتاب النكاح
{ Oh you who have believed, forbid not the good things which Allah has made lawful for you, and do not transgress, for indeed Allah loves not those who transgress } Al-ma’ida 87
From Qais who said: I heard Abdullah say: We were on a raid with the Messenger of Allah (SAW), and we did not have any women, so we said: Should we not get ourselves castrated? He forbade that to us, but allowed us to marry and have sex with women in exchange for a garment and for a limited time. Then Abdullah recited { Oh you who have believed, forbid not the good things which Allah has made lawful for you, and do not transgress, for indeed Allah loves not those who transgress }
Sahih Muslim, The book of marital relations