[Machine] A woman came to the Prophet Muhammad ﷺ and offered herself to him. He said, "I don't have any need for women today." A man then said, "O Messenger of Allah, marry her to me." The Prophet asked him, "What do you have?" The man replied, "I have nothing." The Prophet then said, "Give her even if it is just an iron ring." The man said, "I have nothing." The Prophet asked him, "Do you have anything from the Quran?" The man replied, "Yes, I have such and such." The Prophet then said, "I have married her to you in exchange for what you have from the Quran." And the wording of this hadith is from the narration of 'Arim.
أَنَّ امْرَأَةً أَتَتِ النَّبِيَّ ﷺ فَعَرَضَتْ نَفْسَهَا عَلَيْهِ فَقَالَ «مَا لِي فِي النِّسَاءِ الْيَوْمَ مِنْ حَاجَةٍ» فَقَالَ رَجُلٌ يَا رَسُولَ اللهِ زَوِّجْنِيهَا فَقَالَ «مَا عِنْدَكَ؟» فَقَالَ مَا عِنْدِي مِنْ شَيْءٍ فَقَالَ «أَعْطِهَا وَلَوْ خَاتَمًا مِنْ حَدِيدٍ» قَالَ مَا عِنْدِي مِنْ شَيْءٍ قَالَ «فَمَا عِنْدَكَ مِنَ الْقُرْآنِ؟» قَالَ كَذَا وَكَذَا قَالَ «فَقَدْ مَلَّكْتُكَهَا بِمَا عِنْدَكَ مِنَ الْقُرْآنِ» وَاللَّفْظُ لِحَدِيثِ عَارِمٍ