كتاب الصلاة
4  
The Book of Prayers
(47)
Chapter: The Sutrah (Screen) For One Who Is Praying, And The Recommendation To Pray Facing A Sutrah. The Ruling On Passing In Front Of One Who Is Praying, And Preventing One Who Wants To Pass In Front. It Is Permissible To Lie Down In Front Of One Who Is Praying, Praying Towards One's Mount. The Command To Stand Close To The Sutrah. The Height Of The Suirah, And Related Matters
(47)
باب سُتْرَةِ الْمُصَلِّي ‏
Sahih Muslim 501 a

Ibn Umar reported:

When the Messenger of Allah (may peace he upon him) went out on the 'Id day, he ordered to carry a spear-and it was fixed in front of him, and he said prayer towards its (direction), and the people were behind him. And he did it in the journey, and that is the reason why the Amirs carried it.
حَدَّثَنَا مُحَمَّدُ بْنُ الْمُثَنَّى، حَدَّثَنَا عَبْدُ اللَّهِ بْنُ نُمَيْرٍ، ح وَحَدَّثَنَا ابْنُ نُمَيْرٍ، - وَاللَّفْظُ لَهُ - حَدَّثَنَا أَبِي، حَدَّثَنَا عُبَيْدُ اللَّهِ، عَنْ نَافِعٍ، عَنِ ابْنِ عُمَرَ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم كَانَ إِذَا خَرَجَ يَوْمَ الْعِيدِ أَمَرَ بِالْحَرْبَةِ فَتُوضَعُ بَيْنَ يَدَيْهِ فَيُصَلِّي إِلَيْهَا وَالنَّاسُ وَرَاءَهُ وَكَانَ يَفْعَلُ ذَلِكَ فِي السَّفَرِ فَمِنْ ثَمَّ اتَّخَذَهَا الأُمَرَاءُ ‏.‏
Reference : Sahih Muslim 501a
In-book reference : Book 4, Hadith 277
USC-MSA web (English) reference : Book 4, Hadith 1010
  (deprecated numbering scheme)