Sunan Abu Dawud #2047
Marriage (Kitab Al-Nikah) 12:2
Abu Hurairah reported the Prophet (ﷺ) as saying “Women may be married for four reasons:
for her property, her ranks, her beauty and her religiosity. So get the one who is religious and prosper (lit. may your hands cleave to the dust).”