He might not get caught initially, but just wait untill he has an incident or accident, they will go through his logbook with a fine toothcomb. They will verify every single flight he did and with whom it was done, as well as every single solo flight.
There are few things in life that are as outright stupid as what your friend has done.