The England No 1 was at fault for two Bayern Munich goals as the Champions League holders cruised to a 3-1 victory over City at the Etihad Stadium on Wednesday.
The 26-year-old has been under intense scrutiny for almost a year after a series of high-profile errors, but Nasri insists Hart remains among the best goalkeepers in the world.
The Frenchman said: "I think it's (Manuel) Neuer, Joe Hart and maybe Hugo Lloris, because I play with him in the national team, then (Gianluigi) Buffon too.
"(Iker) Casillas doesn't play anymore but for me Joe is in the world's top five, easily.
"I am not worried about him. For the first time in a long time England have a world-class goalkeeper."
Hart got a hand to Franck Ribery's shot but failed to keep it out as Bayern took the lead, and he was beaten at his near post by Arjen Robben for the German side's third.
But Nasri added: "I think that when you are a top player like Joe, you don't have problems with confidence.
"Sometimes you can have a rough patch but he knows everyone is behind him at the club."
Richards added: "Me and Joe are very close and we all make mistakes. He will bounce back because he is a strong character.
"He is not to blame for the result, the team were not good enough in all areas. He will bounce back.
"He is still England's best keeper. I know we have some real good talents but he is definitely the best.
"He knows he could have done better with the first, but he will get over it."
Diegtristan8 you represent why Man Utd supporters are hated across the world, single minded negative comments about Man City players. gg How does a guy who wins top keeper in the top league in the world 3years in a row not be classified as a top 5 keeper in the world. City as a whole are to blame for goal leaking, sure keepers are last line of Defense, but if the team cant stop balls coming at him hes not able to carry them 100% of the time, no keeper could do that, unless they were so fat they took the whole goal itself. Clichy had poor positioning, the defenders had large gaps between them to allow Bayern to run through them, there wasnt even a uniform to get the Bayern attackers in off side positions. Riberys goal was decent but why were defenders not in the face of him as soon as he had the ball passed to him. City need to play a diamond formation to have a def midfielder help on D or get a 5 man D with 2 attacking wing backs and a sweeper type to help the keeper, i was hoping City would of went for 1 of those formations to combat Bayerns Midfielder, people cant keep on blaming 1 guy for a whole team's fault, thats garbage and the media in england are pathetic and have nothing real to report and so they bag another "england player" when they dont do well, regardless of position on the field. fkn joke- animation