As a player, Ghareeb made several appearances for the Egypt national football team. He participated in four editions of the African Cup of Nations, and was part of the title-winning squad in 1986. He also played for Egypt at the 1984 Summer Olympics in Los Angeles.