Language:
كتاب النكاح
67
Wedlock, Marriage (Nikaah)
(51)
Chapter: To marry (a lady to) a man for what he knows of the Qur'an
(50)
باب التَّزْوِيجِ عَلَى الْقُرْآنِ وَبِغَيْرِ صَدَاقٍ‏.‏

Narrated Sahl bin Sa`d As-Sa`idi:

While I was (sitting) among the people in the company of Allah's Messenger (ﷺ) a woman stood up and said, "O Allah's Messenger (ﷺ)! She has given herself in marriage to you; please give your opinion of her." The Prophet did not give her any reply. She again stood up and said, "O Allah's Messenger (ﷺ)! She has given herself (in marriage) to you; so please give your opinion of her. The Prophet (ﷺ) did not give her any reply. She again stood up for the third time and said, "She has given herself in marriage to you: so give your opinion of her." So a man stood up and said, "O Allah's Messenger (ﷺ)! Marry her to me." The Prophet asked him, "Have you got anything?" He said, "No." The Prophet (ﷺ) said, "Go and search for something, even if it were an iron ring." The man went and searched and then returned saying, "I could not find anything, not even an iron ring." Then the Prophet (ﷺ) said, "Do you know something of the Qur'an (by heart)?" He replied, "I know (by heart) such Sura and such Sura." The Prophet (ﷺ) said, "Go! I have married her to you for what you know of the Qur'an (by heart).

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