Abu Hurairah reported,

The Messenger of Allah ﷺ said, "Do not greet the Jews or the Christians first with the greeting of peace. When you meet one of them on a road, force him to its narrowest part."In the version narrated by Waki, the wording is, "When you meet the Jews." In the version of Ibn Jafar from Shuba, he said, "Regarding the People of the Book." In the version of Jareer, it is, "When you meet them," and he did not name any particular group of the polytheists.

Muslim 5662

Sahih

و حدثنا محمد بن المثنى حدثنا محمد بن جعفر حدثنا شعبة ح و حدثنا أبو بكر بن أبي شيبة وأبو كريب قالا حدثنا وكيع عن سفيان ح و حدثني زهير بن حرب حدثنا جرير كلهم عن سهيل بهذا الإسناد وفي حديث وكيع إذا لقيتم اليهود وفي حديث ابن جعفر عن شعبة قال في أهل الكتاب وفي حديث جرير إذا لقيتموهم ولم يسم أحدا من المشركين

مسلم 5662صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Peace
Chapter
Prohibition of initiating greetings of peace to the People of the Book and how to respond to them
Numbering
Darussalam 5662
Muslim 5662