It was narrated that Abu Aa'eed Al-Khudri daid: "While the Messenger of Allah was distributing something, a man came and leaned over him, and the Messenger of Allah hit him with a stick that he had with him. The man went tout, and the Messenger of Allah said: “Come and ask for retaliation. 'He said: “No. I ask for retaliation.' He said: “No, I pardon you, O Messenger of Allah”””"
DaifDaifDaifBook 45 · Hadith 68