Language:
كتاب فضائل القرآن
66
Virtues of the Qur'an
(21)
Chapter: The best among you are those who learn the Qur'an and teach it
(21)
باب خَيْرُكُمْ مَنْ تَعَلَّمَ الْقُرْآنَ وَعَلَّمَهُ

Narrated Sahl bin Sa`d:

A lady came to the Prophet (ﷺ) and declared that she had decided to offer herself to Allah and His Apostle. The Prophet (ﷺ) said, "I am not in need of women." A man said (to the Prophet) "Please marry her to me." The Prophet (ﷺ) said (to him), "Give her a garment." The man said, "I cannot afford it." The Prophet said, "Give her anything, even if it were an iron ring." The man apologized again. The Prophet then asked him, "What do you know by heart of the Qur'an?" He replied, "I know such-andsuch portion of the Qur'an (by heart)." The Prophet (ﷺ) said, "Then I marry her to you for that much of the Qur'an which you know by heart."

حَدَّثَنَا عَمْرُو بْنُ عَوْنٍ، حَدَّثَنَا حَمَّادٌ، عَنْ أَبِي حَازِمٍ، عَنْ سَهْلِ بْنِ سَعْدٍ، قَالَ أَتَتِ النَّبِيَّ صلى الله عليه وسلم امْرَأَةٌ فَقَالَتْ إِنَّهَا قَدْ وَهَبَتْ نَفْسَهَا لِلَّهِ وَلِرَسُولِ اللَّهِ صلى الله عليه وسلم فَقَالَ ‏"‏ مَا لِي فِي النِّسَاءِ مِنْ حَاجَةٍ ‏"‏‏.‏ فَقَالَ رَجُلٌ زَوِّجْنِيهَا‏.‏ قَالَ ‏"‏ أَعْطِهَا ثَوْبًا ‏"‏‏.‏ قَالَ لاَ أَجِدُ‏.‏ قَالَ ‏"‏ أَعْطِهَا وَلَوْ خَاتَمًا مِنْ حَدِيدٍ ‏"‏‏.‏ فَاعْتَلَّ لَهُ‏.‏ فَقَالَ ‏"‏ مَا مَعَكَ مِنَ الْقُرْآنِ ‏"‏‏.‏ قَالَ كَذَا وَكَذَا‏.‏ قَالَ ‏"‏ فَقَدْ زَوَّجْتُكَهَا بِمَا مَعَكَ مِنَ الْقُرْآنِ ‏"‏‏.‏
Reference : Sahih al-Bukhari 5029
In-book reference : Book 66, Hadith 51
USC-MSA web (English) reference : Vol. 6, Book 61, Hadith 547
  (deprecated numbering scheme)