Andrei Pashnichikov, the Israeli who was arrested in Egypt, has been sentenced to two years in prison, Egyptian media claims.