The deal is the latest in Chelsea’s end of season players clear out as they seek to rebuild the team under new manager Mauricio Pochetinno.
Two first half goals were enough for Morocco to finish top of the group with seven points and a spot for the Atlas Lions in the FIFA World Cup round of 16.
Alonso on Thursday scored a glorious equaliser to earn a 1-1 home draw with Leicester City, despite the hosts being wasteful on the night.
Thomas Tuchel’s Chelsea has beaten Manchester City 1-0 in the semifinal of the English FA Cup just a few weeks ago.
