It was narrated from Anas bin Malik that he saw the Messenger of Allah صلی اللہ علیہ وآلہ وسلم praying on a donkey while he was riding, praying toward Khaibar with the Qiblah behind him. Abu ‘Abdur-Rahman (An-Nasa’i) said: We do not know of anyone who reported anything to support what ‘Amr bin Ya said about praying on a donkey. As for the Hadith of Yahyah bin Saeed from Anas, what is correct is that it is Mawqaf. And Allah knows best. (Sahih)