(18) باب {إِذْ هَمَّتْ طَائِفَتَانِ مِنْكُمْ أَنْ تَفْشَلاَ وَاللَّهُ وَلِيُّهُمَا وَعَلَى اللَّهِ فَلْيَتَوَكَّلِ الْمُؤْمِنُونَ}
Narrated Jabir:
"Allah's Messenger (ﷺ) said to me, "Have you got married O Jabir?" I replied, "Yes." He asked "What, a virgin or a matron?" I replied, "Not a virgin but a matron." He said, "Why did you not marry a young girl who would have fondled with you?" I replied, "O Allah's Messenger (ﷺ)! My father was martyred on the day of Uhud and left nine (orphan) daughters who are my nine sisters; so I disliked to have another young girl of their age, but (I sought) an (elderly) woman who could comb their hair and look after them." The Prophet (ﷺ) said, "You have done the right thing."
Reference: Sahih al-Bukhari 4052
In-book reference: Book 64, Hadith 98
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 5, Book 59, Hadith 382