It was narrated from Sahl bin Sa'd that a woman came to the Messenger of Allah and said:
O Messenger of Allah, I give myself in marriage to you. She stood for a long time, then a man stood up and said: Marry her to me if you do not want to marry her. The Messenger of Allah said: Do you have anything? He said: I cannot find anything. He said: Look (for something), even if it is only an iron ring. So he looked but he could not find anything. The Messenger of Allah said to him: Have you (memorized) anything of the Qur'an? He said: Yes, Surah such and such and Surah such and such, naming them. The Messenger of Allah said: I marry her to you for what you know of the Qur'an.