Shiva Purana
क्षुवेण सह संग्रामे येन विष्णुः पराजितः॥ सनिर्जरोऽथ संशप्तो महेश्वरसहायिना॥ ३॥
In the fight with Kṣuva, Viṣṇu and other gods were defeated by this sage who had the support of Śiva and they were cursed.
english translation
kSuveNa saha saMgrAme yena viSNuH parAjitaH॥ sanirjaro'tha saMzapto mahezvarasahAyinA॥ 3॥
hk transliteration by Sanscript