Here is a wonderful listing of many accounts in religion which teach the lesson of the "golden rule."
This compilation of quotes was found on this web site www.csfirstlessons.com.
BAHAIISM: If thou lookest toward justice, choose then for others
what thou choosest for thyself. Blessed is he who prefers his brother
before himself.
BRAHMANISM: This is the sum of duty: Do naught unto others
which would cause you pain if done to you.
BUDDHISM: In five ways should a clansman minister to his friends
and familiars: By generosity, courtesy and benevolence, treating them
as he treats himself and by being as good as his word.
CHRISTIANITY: All things whatsover you would that men should
do to you, do you even to them: For this is the law and the prophets.
And as ye would that men should do to you, do ye also to them likewise. (Luke 6:31)
Therefore all things whatsoever ye would that men should do to you, do ye even
so to them: for this is the law and the prophets. (Matthew 7:12)
CONFUCIANISM: Is there one word which may serve as a rule to
practice for all one's life? The Master said, 'Is not reciprocity
(sympathy, consideration) such a word? What you do not want done
to yourself, do not unto others.'
HINDUISM: The lifegiving breaths of other creatures are as dear
to them as the breaths of one's own self. Men gifted with intelligence
and purified souls should always treat others as they themselves wish
to be treated.
JAINISM: Indifferent to worldly objects, a man should wander about,
treating all creatures in the world as he himself would be treated.
JUDAISM: Thou shalt love thy neighbor as thyself.
MOHAMMEDANISM: No one of you is a believer until he loves for
his brother what he loves for himself.
SIKHISM: As thou deemest thyself, so deem others; then shalt thou
become a partner in Heaven.
SHINTOISM: Irrespective of their nationality, language, manners and
culture, men should give mutual aid, and enjoy reciprocal, peaceful
pleasure by showing in their conduct that they are brethren.
TAOISM: Regard your neighbor's gain as your own gain, and regard
your neighbor's loss as your own loss.
ZOROASTRIANISM: That nature alone is good which refrains from
doing unto another whatsoever is not good for itself.