Sayyiduna Abdullah bin Mas'ud (may Allah be pleased with him) says: Make your children accustomed to the prayer, and make them accustomed to goodness, for goodness is a habit.
Al-Tabarani recorded it in al-Mu'jam al-Kabir; its chain contains Abu Nu'aym Dirar bin Surad, who is da'if (weak).
Hadith Referenceمجمع الزوائد ومنبع الفوائد / كتاب الصلاة / 1631