It is recommended to stand to the right of the Imam
باب اسْتِحْبَابِ يَمِينِ الإِمَامِ
Sahih Muslim, Book of The Book of Prayer - Travellers(view book)
Bara' reported: When we prayed behind the Messenger of Allah ﷺ we cherished to be on his right side so that his face would turn towards us (at the end of the prayer), and he (the narrator) said: I heard him say: O my Lord! save me from Thy torment on the Day when Thoil, wouldst raise or gather Thy servants.
وَحَدَّثَنَا أَبُو كُرَيْبٍ، أَخْبَرَنَا ابْنُ أَبِي زَائِدَةَ، عَنْ مِسْعَرٍ، عَنْ ثَابِتِ بْنِ عُبَيْدٍ، عَنِ ابْنِ الْبَرَاءِ، عَنِ الْبَرَاءِ، قَالَ كُنَّا إِذَا صَلَّيْنَا خَلْفَ رَسُولِ اللَّهِ ﷺ أَحْبَبْنَا أَنْ نَكُونَ عَنْ يَمِينِهِ يُقْبِلُ عَلَيْنَا بِوَجْهِهِ - قَالَ - فَسَمِعْتُهُ يَقُولُ " رَبِّ قِنِي عَذَابَكَ يَوْمَ تَبْعَثُ - أَوْ تَجْمَعُ - عِبَادَكَ " .
Classification
This hadith has been reported by Mis'ar with the same chain of transmitters, but he made no mention of:" His face would turn towards us."
وَحَدَّثَنَاهُ أَبُو كُرَيْبٍ، وَزُهَيْرُ بْنُ حَرْبٍ، قَالاَ حَدَّثَنَا وَكِيعٌ، عَنْ مِسْعَرٍ، بِهَذَا الإِسْنَادِ وَلَمْ يَذْكُرْ يُقْبِلُ عَلَيْنَا بِوَجْهِهِ .