Hazrat Dhahhak (may Allah have mercy on him) said: If there is an encounter with the enemy, or a wild animal is in pursuit, then perform one rak'ah of prayer by gesture; if unable to gesture, then only say two takbirs.
Hadith Referenceسنن سعید بن منصور / كتاب الجهاد / 3692
Hadith Takhrij«أخرجه سعيد بن منصور فى «سننه» ترقيم الدرالسلفية برقم:، 412، 2515، وابن أبى شيبة فى «مصنفه» برقم: 8354»