Sahih Bukhari Volume 007, Book 062, Hadith Number 072.
Narrated By Sahl : 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 Allah's Apostle! 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 Quran 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 Quran."