President Donald Trump said on Friday he was considering vetoing Congress' $1.3 trillion spending bill over immigration issues.

"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 on Twitter.

Following a House passage on Thursday, the Senate voted early on Friday to approve a $1.3 trillion government funding bill with large increases in military and non-defense spending. 

The bill included only partial funding for construction of a border wall and did not mention the Deferred Action for Childhood Arrivals program, which Trump ended last year and told Congress to act on. A federal court ruling temporarily stayed Trump's plan to end the program on March 5, giving Congress more time to act — and removing the pressure to do so quickly, which has frustrated advocates and left the lives of 800,000 Dreamers in limbo.

Reuters reporting contributed to this story.