Jami` at-Tirmidhi, Book 11, Hadith 7 (Tirmidhi 1088)

Jabir narrated that:

The Prophet said: "Indeed the woman is married for her religion, her wealth, and her beauty, so take the one with religion, and may your hands be dusty."