We have entered into Ramadan so I'd like to wish everyone a Ramadan Mubarak. I also wanted to remind all fasting parents with one piece of advice that Prophet Muhammad, peace and blessings be upon him, gave to all fasting persons.
If you keep this one advice at the top of your mind then it will change your behaviour. And after 30 days of putting this advice into practice then it should become a good habit that will continue even after Ramadan.
What is that one advice?
It is when you're about to become angry and do something you'll regret or when your child makes you so mad that you want to react to it, then say to yourself "I'm fasting. I'm fasting."
Abu Hurayrah (may Allah be pleased with him) narrated that the Messenger of Allah (peace and blessings of Allah be upon him) said: “Fasting is a shield, so (the one who is fasting) should not utter obscenities or behave in an ignorant manner. If someone wants to fight him or insults him, let him say, ‘I am fasting. I am fasting'.” (Al Bukhari and Muslim)
These two words repeated twice is mantra from behaving in a way that you wouldn't want to towards your child. It will create the pause that you need to stop yourself from reacting. After you've said it, remember to take slow deep breaths to bring your body down into calmness.
After Ramadan you can change the words to "I'm a kind parent. I'm a kind parent." or something similar to remind yourself not to react in an unkind way. This will then become your affirmation or mantra to help you stay on track throughout the year.