Abdullah bin Abbas reported,

I came riding on a female donkey when I had nearly reached the age of puberty. The Messenger of Allah ﷺ was leading the prayer at Mina with no wall in front of him. I passed in front of part of the row, dismounted and let the donkey graze freely, then joined the row, and no one rebuked me for that.

Bukhari 76

Sahih

حدثنا إسماعيل بن أبي أويس قال حدثني مالك عن ابن شهاب عن عبيد الله بن عبد الله بن عتبة

عن عبد الله بن عباس قال

أقبلت راكبا على حمار أتان وأنا يومئذ قد ناهزت الاحتلام ورسول الله ﷺ يصلي بمنى إلى غير جدار فمررت بين يدي بعض الصف وأرسلت الأتان ترتع فدخلت في الصف فلم ينكر ذلك علي

البخاري 76صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Knowledge
Chapter
When the hearing of a young child becomes valid
Numbering
Darussalam 76
Bukhari 76