It is narrated from Sayyiduna Mu'adh bin Jabal (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) advised him with ten things, among which were these three: Spend on your family according to your financial means, do not keep the stick away from them for the sake of teaching them discipline, and keep instilling in them the fear of Allah Almighty.
Hadith Takhrij«اسناده ضعيف لانقطاعه، عبد الرحمن بن جبير لم يدرك معاذا أخرجه بنحوه ابن ماجه: 3371، 4034 ، (انظر مسند أحمد ترقيم الرسالة: 222075 ترقیم بيت الأفكار الدولية: 22425»
Brief Explanation
Benefits: … It is established from other texts that, in times of necessity, it is permissible to discipline (give punishment to) one’s wife and children.