Madara Uchiha vs Rei Ayanami: who would win?

Madara Uchiha favored — Slight edge (~55%)

Madara Uchiha · Naruto · Jūbi Jinchūriki

Tier
LOW 5-B, up to 5-B
Attack Potency
Small Planet Level, up to Planet Level
Speed
Ftl
Durability
Small Planet Level, up to Planet Level

Rei Ayanami · Neon Genesis Evangelion · Lilith/Rei

Tier
LOW 5-B
Attack Potency
Small Planet Level
Speed
Massively Hypersonic+, up to Relativistic
Durability
Small Planet Level

A heuristic estimate from normalized VS Battles Wiki stats: tier, attack potency, speed and durability.