Fabian Delph struck Aston Villa's only goal eight minutes from time to put a big dent in Chelsea's title hopes.
The deft flick from the impressive midfielder was soon forgotten, however, as Mourinho took centre stage in injury time moments after Foy had dismissed Ramires for a sliding tackle on Karim El Ahmadi.
The Chelsea manager came on to the pitch as a melee ensued involving players from both teams.
The Portuguese claimed he was only attempting to cool tempers, and to ask Foy why he had not sent off Gabriel Agbonlahor for accosting Ramires, but the referee was not interested and he dismissed the Chelsea manager.
Mourinho then asked to speak to Foy in the referee's room, but he did not want to speak to the Chelsea boss.
Mourinho, clearly annoyed at Foy for dismissing Ramires, and Willian for two bookings earlier in the match, tried his best to bite his lip in his post-match press conference, but he eventually relented in another media briefing minutes later.
"Maybe it's helpful that the (Premier League referees') committee doesn't send him (Foy) to our matches," the Chelsea manager said.
"I don't have the right to request (that). It's just I think they have to analyse the situation and see if every time he has Chelsea - or not every time - but many times he has Chelsea and problems are there, I think maybe it would be a good decision."
Although he was not manager then, Mourinho recalled Chelsea's defeat to QPR in 2011 when Foy dismissed Jose Bosingwa and Didier Drogba.
"The last time I remember something similar was in a match at QPR's stadium," Mourinho said.
When informed that it was Foy who took charge of that match, Mourinho said: "I didn't know (that). It's a coincidence."
Mourinho revealed the fact that Foy was to officiate the game had been regularly discussed at Cobham ever since the officials were announced.
"The players were speaking about it during the week," Mourinho added.
"They have a reason.
"I never care who the ref is. I don't want to know. But during the week the players were speaking about the situation and I think from now on the next time we have Mr Foy I have to work my people in a different way."
Mourinho did not want to say whether he thought the decision to send off Ramires or Willian was correct in case he was charged by the Football Association (FA).
The FA could take a dim view of Mourinho's claim that "problems" regularly occur when Foy officiates Chelsea games though.
The Chelsea manager is also facing an FA charge for entering the field of play. Rule E3 states managers must not leave their technical area as Mourinho did during the match.
Although in fairness to Mourinho, he was not the only one who did so. Paul Lambert entered the pitch, as did a number of coaches, and Agbonlahor, who had been substituted.
If the FA decides Mourinho or anyone else who entered the pitch has broken the law, it can fine him £8,000-£12,000.
If anyone involved is found to have used abusive or insulting language he can be hit with a two-match touchline ban.
Mourinho insists he has done nothing wrong an he would prefer the money to go to an interesting destination if he is fined.
The Chelsea manager added: "I don't think it would be a problem to make a donation to help young referees to have better conditions to improve a referees academy, this kind of situation or to improve kids with social problems or economical problems."
The stoppage-time drama took away the focus away from the fact that Chelsea had surrendered the initiative in the title race to Manchester City, who are six points behind the leaders with three matches in hand.
Villa, meanwhile, are just two wins short of the 40-point mark which usually guarantees a team safety from the drop.
It was the first time Villa had won successive home games since August 2010 and manager Paul Lambert was happy following the final whistle.
He said: "I want to talk about football and the good things about the game.
"We were fantastic, everyone to a man. A young group of lads performed outstanding out there.
"I think it's unfair to single out any individual. It was a team performance."