Srimad Bhagavatam Canto 09, Chapter 16, Text 31

SB 9.16.31

yo vai hariscandra-makhe
 vikritah purusah pasuh
stutva devan prajesadin
 mumuce pasa-bandhanat
 
Translation by His Divine Grace A. C. Bhaktivedanta Swami Srila Prabhupada: 
 
Sunahsepha’s father sold Sunahsepha to be sacrificed as a man-animal in the yajña of King Hariscandra. When Sunahsepha was brought into the sacrificial arena, he prayed to the demigods for release and was released by their mercy.
 
Purport by His Divine Grace A. C. Bhaktivedanta Swami Srila Prabhupada: 
 
Here is a description of Sunahsepha. When Hariscandra was to sacrifice his son Rohita, Rohita arranged to save his own life by purchasing Sunahsepha from Sunahsepha’s father to be sacrificed in the yajña. Sunahsepha was sold to Maharaja Hariscandra because he was the middle son, between the oldest and the youngest. It appears that the sacrifice of a man as an animal in yajña has been practiced for a very long time.
Srimad Bhagavatam Canto 09, Chapter 16, Text 30
Srimad Bhagavatam Canto 09, Chapter 16, Text 32