If you're talking about Edo madara then madara fodder stomps, I don't see madara getting pinned down by nagato's rod, plus they are his eyes so madara would be able to have countermeasures and control nagato if he tries anything. If you mean alive madara then you must be joking, madara broke out if hashirama's gates with little effort, nagato is not on that level, he's not doing anything, again they are his eyes, so.