It was Sean Spicer, not Trump. From Telegraph:
“Sean Spicer, Mr Trump’s press secretary, repeated a claim on Thursday evening initially made by an analyst on Fox News - that GCHQ was used by Mr Obama to spy on Trump Tower in the lead-up to last November’s election.”
There are some holes in that assertion.