Abu Al-Mughirah reported: The Messenger of Allah, peace and blessings be upon him, said:
وَتُحِبُّ لِلنَّاسِ مَا تُحِبُّ أَنْ يُؤْتَى إِلَيْكَ وَتَكْرَهُ لَهُمْ مَا تَكْرَهُ أَنْ يُؤْتَى إِلَيْكَ
Love for people what you would love for yourself, and hate for people what you would hate for yourself.
Source: Musnad Ahmad