Did the Prophet (SAW) say "he should treat the people the way he would love to be treated"?
Is the hadith authentic?
Did the Prophet (SAW) say "he should treat the people the way he would love to be treated"?
Is the hadith authentic?
Yes, this is part of a larger hadith in the Ṣaḥīḥ collection of Muslim ibn al-Hajjaj,
مَنْ أَحَبَّ أَنْ يُزَحْزَحَ عَنْ النَّارِ وَيَدْخُلَ الْجَنَّةَ فَلْتُدْرِكْهُ مَنِيَّتُهُ وَهُوَ يُؤْمِنُ بِاللَّهِ وَالْيَوْمِ الْآخِرِ وَيَأْتِي إِلَى النَّاسِ مَا يُحِبُّ أَنْ يُؤْتَى إِلَيْهِ
Whoever would love to be delivered from the Hellfire and entered into Paradise, then let him die with faith in God and the Last Day, and let him treat the people the way he would love to be treated.
Yes indeed he has said so. One of the strongest statements is the hadith which is in almost all sunni hadith collections:
None amongst you believes (truly) until he loves for his brother" - or he said "for his neighbour" - "that which he loves for himself."
(This is the wording of sahih Muslim, other versions are in sahih al-Bukhari, Jami' at-Tirmdihi, sunan an-Nasa'i, sunan ibn Majah, sahih Muslim)
This hadith says that it is a sign of Iman. Note that an-Nasa'i has also quoted the hadith with the addition ("of goodness").
There's an other similar narration which is in sunan ibn Majah and Jami' at-Tirmidhi, both on the authority of Ali ibn Abi Talib which says that it is a duty for a Muslim towards his Muslim brothers:
"There are six courtesies due from a Muslim to another Muslim: To give Salam to him when he meets him, to accept his invitation when he invites him, to reply to him when he sneezes, to visit him when he is ill, to follow his funeral when he dies, and to love for him what he loves for himself."
For some reasons on sunnah.com the version of at_Tirmdihi has been qualified as da'if even if both the content and the narrator chains are the same!
And in Riyad as-Salihin you may find this quote from sahih Muslim:
The Messenger of Allah (ﷺ) said, "He who desires to be rescued from the fire of Hell and to enter Jannah, should die in a state of complete belief in Allah and the Last Day, and should do unto others what he wishes to be done unto him."
Which is part of a longer hadith which is also in sunan ibn Majah and an-Nasa'i.