Trade is invalid per rules.
However, if one team puts in a claim on that player, the original team has three choices: let the player go to the claiming team, work out a trade with the claiming team within 48 hours of the claim, or pull the player from waivers and keep him.