What is the Buddhist text quoted by the Hindu philosopher Yogaraja? Kashmiri Shaivism is a sect of Hinduism that used to be popular in the Kashmir region of India.  Now this excerpt from the Paramarthasara Vivriti, a work by the 11th century Kashmiri Shaivite philosopher Yogaraja, discusses the delusion that arises from confusing that which is Self from that which is not Self:


  Yogins, not being able to grasp the real Selfs nature as pure consciousness, remain immersed, as it were, in the cave of dreamless sleep, regarding the Selfs nature to be the void. They thereby bind their Self, whose nature is pure consciousness, by a web of insensibility, deluded by the identification of the Self with something dumb. One would think such delusion should be the cause for surprise or distress, which no individual could possibly wish to cause to himself. Citing an example from everyday experience, the author says that just as a spider binds its omnipresent Self in the form of a body with the cobwebs made by itself out of its guts and subsequently perishes therein, so the individual being, regarding his body to be his Self, binds himself by imaginary concepts (vikalpa) in the form of "I" and "mine."  This has been beautifully expressed by the Buddhists thus: "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."


The part in bold caught my attention because I found it interesting that a Hindu philosopher would praise Buddhist thought in this way.  But my question is, what Buddhist text is this quote from?

I don't have Yogaraja's Paramarthasara Vivriti in Sanskrit, so I can't give the exact Sanskrit quote.  By the way, for the Hindus in the audience, I should mention that Yogaraja's work is a commentary on Abhinavagupta's Paramarthasara, which is in turn a reworking of Adisesha's Paramarthasara.
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.