Yazid ibn Asad reported: The Messenger of Allah, peace and blessings be upon him, said to me, “O Yazid, love for people what you love for yourself.”
In another narration, the Prophet said, “Do not treat people but in the way you would love to be treated by them.”
Source: Musnad Aḥmad 16220
Grade: Sahih (authentic) according to Al-Albani
عَنْ يَزِيدَ بْنِ أَسَدٍ قَالَ قَالَ لِي رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يَا يَزِيدُ أَحِبَّ لِلنَّاسِ مَا تُحِبُّ لِنَفْسِكَ
وفي رواية الطبراني قال لا تَأْتِي إِلَى النَّاسِ إِلا مَا تُحِبُّ أَنْ يُؤْتَى إِلَيْكَ
16220 مسند أحمد أول مسند المدنيين
180 المحدث الألباني خلاصة حكم المحدث صحيح في صحيح الجامع