Sahih al-Bukhari, Hadith 5141 ⓘ
Narrated Sahl: A woman came to the Prophet,, and presented herself to him (for marriage). He said, "I am not in need of women these days." Then a man said, "O Allah's Messenger! Marry her to me." The Prophet asked him, "What have you got?" He said, "I have got nothing." The Prophet said, "Give her something, even an iron ring." He said, "I have got nothing." The Prophet asked (him), "How much of the Qur'an do you know (by heart)?" He said, "So much and so much." The Prophet said, "I have married her to you for what you know of the Qur'an."
حَدَّثَنَا أَبُو النُّعْمَانِ، حَدَّثَنَا حَمَّادُ بْنُ زَيْدٍ، عَنْ أَبِي حَازِمٍ، عَنْ سَهْلٍ، أَنَّ امْرَأَةً، أَتَتِ النَّبِيَّ صلى الله عليه وسلم فَعَرَضَتْ عَلَيْهِ نَفْسَهَا فَقَالَ " مَا لِي الْيَوْمَ فِي النِّسَاءِ مِنْ حَاجَةٍ ". فَقَالَ رَجُلٌ يَا رَسُولَ اللَّهِ زَوِّجْنِيهَا. قَالَ " مَا عِنْدَكَ ". قَالَ مَا عِنْدِي شَىْءٌ. قَالَ " أَعْطِهَا وَلَوْ خَاتَمًا مِنْ حَدِيدٍ ". قَالَ مَا عِنْدِي شَىْءٌ. قَالَ " فَمَا عِنْدَكَ مِنَ الْقُرْآنِ ". قَالَ عِنْدِي كَذَا وَكَذَا. قَالَ " فَقَدْ مَلَّكْتُكَهَا بِمَا مَعَكَ مِنَ الْقُرْآنِ ".
also referenced under: Book 67, Hadith 77 (In-Book) & Volume 7, Book 62, Hadith 72 (USC-MSA)