It is narrated from Sayyiduna Ali (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said to me: "When you see a lion, say takbir three times and say these words: 'Allahu akbar, Allahu akbar, Allahu akbar, Allahu a'azzu min kulli shay'in wa akbar, a'udhu billahi min sharri ma akhafu wa ahdhar' (Allah is the Greatest, Allah is the Greatest, Allah is the Greatest; Allah is far mightier and greater than everything; I seek refuge in Allah from the evil of what I fear and what I am wary of). If Allah Almighty wills, you will be protected from its evil. And when a dog growls at you (or attacks you), recite this verse: 'O assembly of jinn and mankind, if you are able' to the end of the verse."
Hadith Gradingمحدثین:سكت عنه البوصيري، إسناده ضعيف جدًا؛ حماد بن عمرو النصيبي متهم بالوضع، والسري بن خالد مجهول، وعبد الرحيم بن واقد ضعيف
Hadith Takhrij«حماد بن عمرو النصيبي: متروك يضع الحديث (من الحفظ)؛ السري بن خالد: لا يعرف (من الحفظ)؛ عبد الرحيم بن واقد: في حديثه مناكير (الميزان ٥٠٣٨)؛ وعلي بن الحسين لم يدرك عليًّا (من الحفظ)»