Claiming a dependent

If my child is 21 or older do I have to claim them as a dependent? They are a full time student. If I don't claim them they will get the "American Opportunity Tax Credit". I don't qualify for that credit. Will I get in trouble if I don't claim them so they can get the "American Opportunity Tax Credit"? Thanks.