An international student has had his visa torn up at the airport after Border Force officers made a concerning discovery on his phone.