It was narrated from Abu Hurairah that:
the Prophet said: "A woman may be married for four things: Her wealth, her lineage, her beauty or for her religion. Choose the religious, may your hands be rubbed with dust (i.e., may you prosper)."
English reference: Vol. 3, Book 9, Hadith 1858
Arabic reference: Book 9, Hadith 1931