Nafi' narrates from Ibn Umar (may Allah be pleased with them both) that whenever he (may Allah be pleased with him) heard one of his sons making a grammatical mistake in Arabic, he would strike him.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 2275