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 Messenger of Allah ﷺ! 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."
أَنَّ امْرَأَةً أَتَتِ النَّبِيَّ ﷺ فَعَرَضَتْ عَلَيْهِ نَفْسَهَا فَقَالَ مَا لِي الْيَوْمَ فِي النِّسَاءِ مِنْ حَاجَةٍ فَقَالَ رَجُلٌ يَا رَسُولَ اللَّهِ زَوِّجْنِيهَا قَالَ مَا عِنْدَكَ قَالَ مَا عِنْدِي شَىْءٌ قَالَ أَعْطِهَا وَلَوْ خَاتَمًا مِنْ حَدِيدٍ قَالَ مَا عِنْدِي شَىْءٌ قَالَ فَمَا عِنْدَكَ مِنَ الْقُرْآنِ قَالَ عِنْدِي كَذَا وَكَذَا قَالَ فَقَدْ مَلَّكْتُكَهَا بِمَا مَعَكَ مِنَ الْقُرْآنِ