Christianity: All things whatsoever ye would that men should do to you, do ye even so to them. (Matthew 7:12)
Judaism: What is hateful to you, do not to your fellowmen. That is the entire Law; all the rest is commentary. (Talmud Shabbat 31:a)
Islam: No one of you is a believer until he desires for his brother that which he desires for himself. (Sunnah)
Buddhism: Hurt not others in ways that you yourself would find hurtful. (Udana Varga 5:18)
Confucianism: Surely it is the maxim of loving-kindness: Do not unto others that you would not have them do unto you. (Analects 15:23)
Taoism: Regard your neighbor's gain as your gain, and your neighbor's loss as your own loss. (T'ai Shag Kan Ying P'ien)
Zoroastrianism: That nature alone is good which refrains from doing unto another whatsoever is not good: for itself. (Dadistan-i-dinik 94:5)
Brahmanism: This is the sum of duty: Do naught unto others which would cause you pain if done to you. (Mahabharata 5:1517)