This is a barn with a horse peeking his head out
Horses are looking out of the windows of a bard.
Horses take a look outside of a window in their shed
Horses peek through the windows of a small utilitarian horse barn.
Horses look out the windows of a horse barn.