The Italy international was sent off in the 10th minute after his mistimed attempt at a high-footed clearance caught Josue Casimir in the head.
Donnarumma will miss the defending champions' Ligue 1 games against Nantes and Lille over the next two weekends but remains eligible for Wednesday's Champions League game at Dortmund.