The Golden Rule
Hinduism
Everything you should do you will find in this: Do nothing unto others that would hurt you if it were done unto you.
Mahabharata 5:1517
Buddhism
Do not offend others as you would not want to be offended.
Udana-Varga 5:18
Taoism (Daoism)
The successes of your neighbor and their losses will be to you as if they were your own.
T'ai-shang Kan-ying P'ien
Confucianism
Is there any rule that one should follow all of one's life? Yes! The rule of the gentle goodness: That which we do not wish to be done unto us, we do not do unto others.
Analects 15:23
Judaism
That which you do not wish for yourself, you shall not wish for your neighbor. This is the whole law: the rest is only commentary.
Talmud Shabbat 31a
Christianity
In everything, do unto others what you would have them do unto you. For this sums up the law and the prophets.
Matthew 7:12
Islam
None of you shall be true believers unless you wish for your brother the same that you wish for yourself.
Sunnatt - Hadith 13