The Messenger of Allah ﷺ said, "Do not abandon these two prayers, even if cavalry drives you away."
حدثنا مسدد حدثنا خالد حدثنا عبد الرحمن يعني ابن إسحق المدني عن ابن زيد عن ابن سيلان
قال رسول الله ﷺ لا تدعوهما وإن طردتكم الخيل
No references are available.
[Its chain of transmission is daif] Ahmad narrated it in 2/405 from the hadith of Khalid, through him. Ibn Saylan is of unknown reliability, and only Ibn Hibban deemed him trustworthy.