The Terriers have signed Sobhi for £5.7m on a three-year deal.
Sohbi, 21, is in the Egypt squad for the World Cup in Russia.
He made 41 Premier League appearances for the Potters after joining from Al Ahly in July 2016, scoring twice.
"I'm very happy that we will be able to welcome Ramadan to the club. He's a real talent and has achieved a lot for a player who is only 21 years old," said Town boss David Wagner.
"We're looking forward to working hard with Ramadan on the training pitch to give him every chance of success at Huddersfield Town."