Guineafowl
Guineafowl may be trained to go into a coop (instead of roosting in trees) when very young. Once hatched and ready to leave the brooder (around 3 weeks), they may be enclosed in a coop for at least three days so they learn where "home" is. When guinea parents (that already roost in a coop) raise their own keets, the hen sets on them outdoors at night, but then the parents teach the keets to also go into the coop in the evenings around 3 weeks of age.