Anas bin Malik reported,

The Messenger of Allah ﷺ rode a horse and was thrown from it, injuring his right side. The narration continues in similar wording to theirs, including the statement, "When he prays standing, then pray standing."

Muslim 924

Sahih

حدثنا ابن أبي عمر حدثنا معن بن عيسى عن مالك بن أنس عن الزهري

عن أنس

أن رسول الله ﷺ ركب فرسا فصرع عنه فجحش شقه الأيمن بنحو حديثهم وفيه إذا صلى قائما فصلوا قياما

مسلم 924صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Prayer
Chapter
Following the imam by the one praying behind him
Numbering
Darussalam 924
Muslim 924