(15) باب الأَكْفَاءِ فِي الدِّينِ
Narrated Abu Huraira:
The Prophet (ﷺ) said, "A woman is married for four things, i.e., her wealth, her family status, her beauty and her religion. So you should marry the religious woman (otherwise) you will be a losers.
Reference: Sahih al-Bukhari 5090
In-book reference: Book 67, Hadith 28
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 7, Book 62, Hadith 27