أَخْبَرَنَا مَالِكٌ، عَنْ عَمْرِو بْنِ يَحْيَى الْمَازِنِيِّ، عَنْ أَبِي الْحُبَابِ سَعِيدِ بْنِ يَسَارٍ، عَنْ عَبْدِ اللَّهِ بْنِ عُمَرَ، قَالَ: رَأَيْتُ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يُصَلِّي عَلَى حِمَارٍ، وَهُوَ مُتَوَجِّهٌ إِلَى خَيْبَرَ. قَالَ الشَّافِعِيُّ: يَعْنِي النَّوَافِلَ.
It is narrated from Abdullah bin Umar (may Allah be pleased with them both) that he stated: I saw the Messenger of Allah (ﷺ) praying on a donkey, while his face was towards Khaybar. Imam Shafi'i (may Allah have mercy on him) said: That is, it was a voluntary (nafl) prayer.