One verse

Srimad Bhagavatam 9.9.22

9.9.22

परिवेक्ष्यमाणं भगवान् विलोक्याभक्ष्यमञ्जसा । राजानमशपत् क्रुद्धो रक्षो ह्येवं भविष्यसि ॥ २२ ॥

pariveksyamanam bhagavan vilokyabhaksyam anjasa rajanam asapat kruddho rakso hy evam bhavisyasi

pariveksyamanam
while examining the eatables
bhagavan
the most powerful
vilokya
when he saw
abhaksyam
unfit for consumption
anjasa
very easily by his mystic power
rajanam
unto the King
asapat
cursed
kruddhah
being very angry
raksah
a man-eater
hi
indeed
evam
in this way
bhavisyasi
you shall become.

While examining the food given to him, Vasistha Muni, by his mystic power, could understand that it was unfit to eat, being the flesh of a human being. He was very angry at this and immediately cursed Saudasa to become a man-eater.