From Sahih Muslim (Hadith 381):
The same hadith has been narrated on the authority of Muhammad b Sa'd and these words (are also there):The Messenger of Allah (ﷺ) gave a stroke on my neck or between my two shoulders and said: Sa'd, do you fight with me simply because I gave (a share) to a man?
Reference: Muslim 381