Abu Hurairah reported,

The Messenger of Allah ﷺ stood up for prayer, and we stood with him. During the prayer an Arabi said, "Allah, have mercy on me and on Muhammad, and do not have mercy on anyone else along with us."When the Messenger of Allah ﷺ gave the closing salam, he said to the Arabi, "You have restricted something Wasi," meaning the mercy of Allah عز وجل.

Abu Dawud 882

Sahih

حدثنا أحمد بن صالح حدثنا عبد الله بن وهب أخبرني يونس عن ابن شهاب عن أبي سلمة بن عبد الرحمن أن

أبا هريرة قال

قام رسول الله ﷺ إلى الصلاة وقمنا معه فقال أعرابي في الصلاة اللهم ارحمني ومحمدا ولا ترحم معنا أحدا فلما سلم رسول الله ﷺ قال للأعرابي لقد تحجرت واسعا يريد رحمة الله عز وجل

أبو داود 882صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Abu Dawud
Book
Prayer
Chapter
Supplication in prayer
Numbering
Darussalam 882
Abu Dawud 882