The more common version of this rhyme has the boy running away from an owl instead of a calf. You can find that version below.

There Was a Little Boy Went into a Barn - English Children's Songs - England - Mama Lisa's World: Children's Songs and Rhymes from Around the World  - Intro Image

Notes

Here's a variation of this rhyme from The Nursery Rhyme Book, edited by Andrew Lang and illustrated by L. Leslie Brooke (1897):

There was a little boy went into a barn,
And lay down on some hay;
An owl came out and flew about,
And the little boy ran away.

The Real Mother Goose
(1916) has this following version:

A little boy went into a barn,
And lay down on some hay.
An owl came out, and flew about,
And the little boy ran away.

There Was a Little Boy Went into a Barn - English Children's Songs - England - Mama Lisa's World: Children's Songs and Rhymes from Around the World  - Comment After Song Image
There Was a Little Boy Went into a Barn - English Children's Songs - England - Mama Lisa's World: Children's Songs and Rhymes from Around the World 1

Thanks and Acknowledgements

The 1st illustration is from Mother Goose, The Original Volland Edition (1915), edited and arranged by Eulalie Osgood Grover and illustrated by Frederick Richardson (with some graphical editing by Mama Lisa). The 2nd illustration is from The Real Mother Goose (1916), illustrated by Blanche Fisher Wright. The 3rd illustration is from On the Tree Top (1881) by Clara Doty Bates, illustrated by F.T. Merrill and Jessie Curtis.