Outgoing Real Madrid boss Jose Mourinho has been handed a two-game ban for domestic cup matches following his dismissal in the Copa del Rey final on Friday night.