But the plan did not contain final funding provisions for the President on the border wall, drawing Mr. Trump's ire, though the bill does continue existing funding in the 2018 budget.
The House is scheduled to vote on the bill next week; action must be taken by the end of the month, to avoid a lapse in funding, and a partial government shutdown at the start of the new fiscal year.
Congress would then have to forge a final deal on funding for the wall and other items after the elections.
The President's twitter complaints about the funding bill came as Mr. Trump prepared to go back on the campaign trail for the first time in two weeks.
Preparation work for Hurricane Florence last week forced Mr. Trump to postpone two rallies; the President will be back on the campaign trail tonight with a rally in Las Vegas. He also has a rally scheduled on Friday in Springfield, Missouri.