Youssef Al Feel, along with his brothers and cousins, managed to break the windows and enter flooded houses — moving people to safety for an entire day
United won 3-1 at third-tier Northampton Town to ease some of the pressure building on Mourinho following three consecutive defeats, while holders City prevailed 2-1 at Swansea City.
Tottenham Hotspur were rewarded with a trip to Liverpool after crushing Gillingham 5-0 and West Ham United will face Chelsea after scraping past fourth-tier Accrington Stanley.
"We deserved to win," Mourinho told Sky Sports after goals from Michael Carrick, Ander Herrera and substitute Marcus Rashford took his side into the fourth round.
Mourinho, speaking before the draw had been made, added: "It was difficult, as I was expecting, but we were totally in control for the 35 minutes and then for the last 45 minutes.
"It was a difficult match, but overall a positive performance."
Mourinho, who felt that Northampton's Jak McCourt should have been sent off for a rash challenge on Memphis Depay, did not attend his post-match press conference.
United's victory was a welcome tonic for Mourinho and his team following consecutive losses to Manchester City, Feyenoord and Watford. He made nine changes to the side beaten 3-1 at Watford on Sunday.
Rooney started up front, for the first time since last season, and squandered an early opportunity by miscuing from Ashley Young's cross. United went ahead in the 17th minute after Northampton goalkeeper Adam Smith was penalised for picking up a back-pass.
Rooney's shot from the ensuing free-kick hit the wall, but Carrick swept the rebound into the top-left corner from the edge of the box.
Rooney then saw a goal ruled out for offside, but Northampton gave United a scare when Kenji Gorre clipped the bar in the 38th minute and within four minutes the home side were level. After Marcos Rojo, Timothy Fosu-Mensah and Morgan Schneiderlin all spurned chances to clear, Daley Blind tripped Sam Hoskins and Alex Revell stroked the resulting penalty past Sergio Romero.
Mourinho waited only 10 minutes in the second half before turning to the bench, with Zlatan Ibrahimovic and Rashford replacing Fosu-Mensah and Depay.
Herrera gave Northampton a warning with a left-foot shot that struck the post and in the 68th minute he restored United's lead, slamming home right-footed from Rashford's lay-off.
Another Smith error allowed United to seal victory, the goalkeeper hesitating as a long ball bounced towards him, which allowed Rashford to steal in and lash the ball into the vacant goal.
Premier League pace-setters Manchester City made it nine wins from nine games under Guardiola with victory at Swansea.
Youssef Al Feel, along with his brothers and cousins, managed to break the windows and enter flooded houses — moving people to safety for an entire day
Guardiola's team will be crowned champions for an unprecedented fourth successive season if they win their last five matches
A qualified engineer, CP Rizwan is a technically correct batsman who can also take wickets with his part-time spin
The defeats are a jolt to a full-strength Pakistan side in their preparations for the Twenty20 World Cup
With his famous stepfather Tommy Fleetwood on his bag, Dubai’s Oscar Craig shoots a promising first round 69
Karn Sharma and Swapnil Singh bag four key wickets to secure a 35-run victory in Hyderabad
The patient had endured years of severe pain and debilitating health complications due to the tumour
The concert is set to take place on April 27