Hillel: What is hateful to you, do not to your fellow men. That is the entire Law; all the rest is commentary. This differs subtly from Matthew 7.12: "Whatever you wish that men would do to you, do so to them." Bryan, above, strikingly parallels the former: "Try to be nice, and give everyone as much room as possible to pursue happiness, and require the same from them. The rest is just window dressing."

http://www.fragrant.demon.co.uk/golden.html lists the versions of various faiths.