UPDATE 3-Trump threatens to veto spending bill, risking shutdown

(Recasts with Trump veto threat)

WASHINGTON, March 23 (Reuters) - U.S. President Donald Trump threatened on Friday to veto Congress' newly passed $1.3 trillion spending bill over immigration issues, a surprise move that could force the federal government to shutdown when funding expires later in the day.

On Thursday, the White House said Trump was expected to sign the bill into law.

The U.S. House of Representatives and the Senate, both led by Trump's fellow Republicans, have passed the legislation but in a post on Twitter the president criticized it for not fully funding for his proposed wall on the Mexican border or addressing Dreamer immigrants - those brought to the United States illegally when they were children.

"I am considering a VETO of the Omnibus Spending Bill based on the fact that the 800,000 plus DACA recipients have been totally abandoned by the Democrats (not even mentioned in Bill) and the BORDER WALL, which is desperately needed for our National Defense, is not fully funded," Trump wrote.

The U.S. Senate voted early on Friday to approve a $1.3 trillion government funding bill with large increases in military and non-defense spending, following the House's passage on Thursday and sending it Trump. (Reporting by Richard Cowan and Susan Heavey; Editing by Bill Trott)