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-and-such 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."