It is episode 541, episode 542, and episode 543.
1. Episode 541 tells the story of Shikamaru’s troops who are unable to move their bodies in order to prevent their companions from killing each other, and the medical troops who are unable to treat the wounded in order to prevent the invasion of White Zetsu. As Naruto arrived at various battlefields, the combined ninja forces used his sensory abilities to defeat White Zetsu one after another. Just when the morale of the Ninja United Army was high, no one noticed that a certain character was resurrected due to the art of reincarnation.
2. Episode 542 tells that the reincarnation of the dirty land that appeared in front of Gaara and Onoki was "Uchiha Madara". Now that the real Madara has appeared, who is that masked man? Just as Naruto and the others were in confusion because of this, Madara began to attack.
3. Episode 543 tells that Madara’s power far exceeds imagination. Many ninjas were knocked down, and even Onoki was seriously injured. Naruto also ran out of chakra and fell into a state where he could no longer fight on his own. The ninjas all lost their will to fight, but Onoki still refused to give up. He stood up again in order to win this battle and gain peace.