It is narrated from Sayyiduna Abdullah bin Mas'ud (may Allah be pleased with him) that he said: "We used to take part in military expeditions with the Messenger of Allah (peace and blessings be upon him), and our wives were not with us. So we said: 'O Messenger of Allah, should we not have ourselves castrated (to end desire)?' He (peace and blessings be upon him) forbade us from that and granted us the concession to marry a woman in exchange for a garment." Then Sayyiduna Abdullah (may Allah be pleased with him) recited this blessed verse: "O you who believe, do not make unlawful the good things that Allah has made lawful for you."
Hadith Referenceمسند أبي يعلى الموصلي / مسند عبد الله بن مسعود / 5382
Hadith Gradingمحدثین:إسناده صحيح
Hadith Takhrij«حکم الحدیث مسند ابی یعلی محققاً تنسیق حسين سليم أسد - مکتبہ شاملہ :قال حسين سليم أسد: إسناده صحيح . » «قال سعيد بن محمد السناري: صحيح» «أخرجه صحيح البخاري برقم: 4339، 4784، 4788، وأخرجه صحيح مسلم برقم: 1404، وأخرجه مسند أحمد برقم: 3642، 3698، 3976، 4102، 4290، وأخرجه فتح الباري برقم: 6223، وأخرجه مسند البزار برقم: 1891، وأخرجه صحيح ابن حبان برقم: 4142، وأخرجه مسند الإمام الشافعي برقم: 1155، وأخرجه معرفة السنن والآثار برقم: 14088، مسند ابویعلیٰ ترقیم الاثری: 5360»