And the key thing here. which I've seen a lot of referees fail to understand, is if you are giving an IDFK it must also be a caution. Just giving the IDFK would be incorrect in law as the offence you are stopping play for is listed as cautionable.
That said, in this situation I might be tempted to temporarily develop selected hearing as it just doesn't feel right that a player should be rewarded for a stupid act of throwing the ball to someone without first looking.