Tonglen - Exchanging Self and Other - Intersubjectivity
Refer to SN 55.7, which discusses each moral precept against killing, stealing, adultery &amp; wrong speech.

Here, householders, a noble disciple reflects thus: ‘I am one who wishes to live, who does not wish to die; I desire happiness and am averse to suffering. Since I am one who wishes to live, who does not wish to die; who desires happiness and is averse to suffering; if someone were to take my life, that would not be pleasing and agreeable to me. Now if I were to take the life of another – of one who wishes to live, who does not wish to die, who desires happiness and is averse to suffering–that would not be pleasing and agreeable to the other either. What is displeasing and disagreeable to me is displeasing and disagreeable to the other too. How can I inflict upon another what is displeasing and disagreeable to me?’ Having reflected thus, he himself abstains from the destruction of life, exhorts others to abstain from the destruction of life, and speaks in praise of abstinence from the destruction of life. Thus this bodily conduct of his is purified in three respects.
SN 55.7

Also, refer to Dhammapada X:

129. All tremble at violence; all fear death. Putting oneself in the place of another, one should not kill nor cause another to kill.
130. All tremble at violence; life is dear to all. Putting oneself in the place of another, one should not kill nor cause another to kill.