“I was present with the Prophet (ﷺ) on the Day of Uhud. I struck a man from among the idolaters and said: ‘Take that! And I am a Persian slave!’ News of that reached the Prophet (ﷺ) and he said: ‘Why did you not say: “Take that! And I am an Ansari slave!?”
Sunan Ibn Majah Book 24, Hadith 32