Sunan an-Nasa'i, Book 26, Hadith 35 (Nasa'i 3236)

Narrated Abu Hurairah:

It was narrated from Abu Hurairah that the Prophet said: "Women are married for four things: their wealth, their nobility, their beauty and their religious commitment. Choose the one who is religiously committed, may your hands be rubbed with dust."