Di Matteo has become the first top-flight manager to leave his post this season.
He took charge of Chelsea in March after the club had sacked Andre Villas-Boas. Initially Di Matteo took over on a temporary basis.
He rescued the club's ailing Champions League campaign and steered them against all odds to victory over Bayern Munich in the final on the German team's home ground, having already secured the FA Cup.
He was given a two-year contract in June but not before there had been speculation over whether Guardiola would take over.
The season started well domestically but they have fallen slightly off the pace in recent weeks.
More top news
Detectives have released a CCTV image as they hunt for man who sexually assaulted woman at bus stop in east London.
Shops and restaurants on the route of the Notting Hill Carnival have boarded up as shop-keepers and residents aim to protect their property.
Bank Holiday rail disruptions mean many of London's trains have ground to a halt this weekend, meaning options beyond the tube are limited.