It is narrated from Sayyiduna Anas bin Malik (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "Whoever among slaves, animals and children shows bad temper, recite this verse in his ears: 'Do they then seek other than the religion of Allah?'"
This hadith is narrated from Sayyiduna Anas (may Allah be pleased with him) only with this chain.
Hadith Referenceالمعجم الأوسط / باب الألف / 64
Hadith Gradingمحدثین:إسناده ضعيف جدًّا، فيه محمد بن عبد الله بن عقيل بن عمير متروك
Hadith Takhrij«قال الهيثمي: فيه محمد بن عبد الله بن عقيل بن عمير وهو متروك «مجمع الزوائد ومنبع الفوائد، ج 8، ص 26»»