The answer is a rider.
A rider is an additional provision added to a piece of legislation. They may or may not relate to the subject of the legislation that they are attached to. Riders are usually created as a tactic to pass a controversial provision that would not pass as its own bill.