Abu Hazim narrates from Sayyiduna Sahl bin Sa'd (may Allah be pleased with him) that a woman came to the Prophet (peace and blessings be upon him). She said that a woman has given herself as a gift to Allah and His Messenger. He (peace and blessings be upon him) said: "I have no need of women today." Then one of the weak Muslims said: O Messenger of Allah (peace and blessings be upon him), marry her to me. He (peace and blessings be upon him) asked: "What do you have?" He said: I have nothing at all. He (peace and blessings be upon him) said: "Give her at least a garment." The man said: I cannot find one. He (peace and blessings be upon him) said: "Then give her even an iron ring." The man said: I cannot find one, that is, I do not have it. He (peace and blessings be upon him) asked: "Do you know any Qur'an?" He said: I know such-and-such surahs. He (peace and blessings be upon him) said: "Then I have married her to you in return for the Qur'an."
(b) In the narration of Abu al-Rabi' it says: "We have indeed married her to you."
(c) Abu Hazim narrates from Sayyiduna Sahl that the Prophet (peace and blessings be upon him) said: "I have made you her owner in return for the Qur'an that you know."
(d) It is narrated from Abu Ghassan Muhammad bin Mutarrif that in the hadith he (peace and blessings be upon him) said: "I have married her to you in return for the Qur'an that you know."
(e) The majority narrate the word tazwij (marrying), except for the narration that is shadhdh (anomalous), and a group is more worthy of being relied upon for accurate preservation than a single narrator, and Allah knows best. Sayyiduna Jabir bin Abdullah (may Allah be pleased with them both) narrates from the Prophet (peace and blessings be upon him), in the story of the Farewell Pilgrimage, that he (peace and blessings be upon him) said: "Fear Allah concerning women, for you have taken them by the trust of Allah, and you have made their private parts lawful for yourselves by the word of Allah (that is, nikah)." The words nikah and tazwij both occur in the Qur'an.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب النكاح / 13823