is this illegal to do to my baby?

I have a 6 month old who's in daycare. She came home today with purple stuff spilled on her onsie. it was COUGH medicine the daycare provider has been using to get her to fall asleep for nap!!!! Im pulling her out obviously, but is this illegal? Can I report it?