Al-Ilmam bi-Ahadith al-Ahkam 242
وَعَن الْبَراء رَضِيَ اللَّهُ عَنْه، قَالَ: كُنَّا إِذا صلينَا خلف رَسُول الله ﷺ أحببنا أَن نَكُون عَن يَمِينه يقبل علينا بِوَجْهِهِ، قَالَ: فَسَمعته يَقُول: " رب قني عذابك يَوْم تبْعَث أَو تجمع عِبَادك ". انْفَرد بهَا كلهَا مُسلم.
And from al-Baraʾ, may Allah be pleased with him, who said: When we prayed behind the Messenger of Allah ﷺ, we liked to be on his right, so that he would turn his face towards us. He said: And I heard him say: "My Lord, protect me from Your punishment on the Day You resurrect, or gather, Your servants." Muslim alone narrated all of them.