I'm not convinced that madara can do much. If it was one on one with madara only having the ems, I would say nagato since he can use the path that eats souls. But at the current level that madara is at, I would give the fight to madara, even though he hasn't done anything except summoning the edo monster and the edo tensei-jinchuuriki and implanting a three-tomoe sharingan and a rinnegan in each of them. I don't see nagato beating that.