This is a statement from Srimad-Bhagavatam (10.9.20). Krsna agreed to be bound by mother Yasoda after she had given up trying to bind Krsna with ropes. This is another appreciation made by Sukadeva Gosvami in his narration of the pastimes of Krsna before MaharajaPariksit.