Al-Hakeem al-Tirmidhi رحمه الله said:
صلاح خمسة في خمسة صلاح الصبي في
المكتب وصلاح الفتى في العلم وصلاح الكهل في المسجد وصلاح المرأة في البيت وصلاح
المؤذي في السجن
"The rectitude of five lie in five: The rectitude of a
child lies in the study-room; the rectitude of a youth lies in (seeking and
acquiring) knowledge; the rectitude of the mature, middle-aged man lies in the
Masjid; the rectitude of a woman is in her house and the rectitude of one who
harms others is in the prison."
{Al-Siyar of al-Dhahabi (13/441)}