Shiva Purana
मत्स्यः कूर्मो वराहश्च नारसिंहो ऽथ वामनः ॥ रामत्रयं तथा कृष्णो विष्णुस्तुरगवक्त्रकः ॥ १३५ ॥
The fish, the tortoise, the boar, the lion and the dwarf. The three Ramas and Krishna and Vishnu with the face of a horse.
english translation
matsyaH kUrmo varAhazca nArasiMho 'tha vAmanaH ॥ rAmatrayaM tathA kRSNo viSNusturagavaktrakaH ॥ 135 ॥
hk transliteration by Sanscript