Sobhi made 41 Premier League appearances for the Potters after joining from Al Ahly in July 2016, scoring twice.
🇪🇬 Ramadan flew in from Egypt's training camp to sign a three-year contract with the Club.
“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.”