The total amount of the spending bill for domestic and military programs is $450 billion.
It now goes to the House, which has not brought military spending bills to the floor this year.
The vote on the $13 billion military spending bill was 311 to 105.
By the end of the year, a spending bill is worked out.
They face a spending bill and energy legislation left over from last year.
And it is likely, but not certain, that the spending bill will be passed.
But the spending bill has still not passed the Senate.
The prohibition had been included in the spending bill every year since 1983.
Next week, the Senate is expected to consider its own spending bill.
The first of the spending bills are expected to reach the Senate floor next week.