What is the Buddhist text quoted by the Hindu philosopher Yogaraja?
I can find a "reverse" message in Udana 5.1 to "When one looks upon himself as the Self, he regards himself as a unique being due to the distinction between the Self and another being [i.e. the not-self]; this causes bondage and hostility [between the Self and the not-self]. All evils ensue from the assumption of such bondage.":


  When the king, descending from the palace, went to the Blessed One
  and, on arrival, having bowed down to him, sat to one side. As he was
  sitting there, he said to the Blessed One, "Just now, when I had gone
  with Queen Mallikā to the upper palace, I said to her, 'Mallikā, is
  there anyone dearer to you than yourself?'
  
  "When this was said, she said to me, 'No, great king. There is no one
  dearer to me than myself. And what about you, great king? Is there
  anyone dearer to you than yourself?'
  
  "When this was said, I said to her, 'No, Mallikā. There is no one
  dearer to me than myself.'"
  
  Then, on realizing the significance of that, the Blessed One on that
  occasion exclaimed:
  
  Searching all directions with your awareness, you find no one dearer
  than yourself. In the same way, others are thickly dear to
  themselves. So you shouldn't hurt others if you love yourself.