Mishkat al-Masabih 780
وَعَنِ ابْنِ عَبَّاسٍ قَالَ: أَقْبَلْتُ رَاكِبًا عَلَى أَتَانٍ وَأَنَا يَوْمَئِذٍ قَدْ نَاهَزْتُ الِاحْتِلَامَ وَرَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يُصَلِّي بِالنَّاسِ بِمِنًى إِلَى غَيْرِ جِدَارٍ فَمَرَرْتُ بَين يَدي الصَّفّ فَنزلت فَأرْسلت الْأَتَانَ تَرْتَعُ وَدَخَلْتُ فِي الصَّفِّ فَلَمْ يُنْكِرْ ذَلِك عَليّ أحد
And from Ibn ʿAbbas, who said: I came riding on a she-donkey, and at that time I was close to reaching puberty, while the Messenger of Allah ﷺ was leading the people in prayer at Mina towards no wall. I passed in front of the row, dismounted, let the she-donkey graze, and entered the row, and no one objected to that from me.