I paid a babysitter...

So I paid a babysitter to babysit in my own home... My question is the person who babysat was under 18, until November 2023 and they are considered a dependent under their adopted parents taxes. I don't want to mess anyones taxes up but how do I claim that they babysat for me, without this being an issue? I am just at a loss because I keep seeing different cutoffs for what they have to claim. Like does their parents put that the child received let's say $5000 total or not?