Every recorded result
shownNaruto · ch. 626Upset
Hashirama Senju beat Madara Uchiha in Naruto.
Flashback: Madara cuts down what turns out to be a wood clone, and Hashirama runs him through from behind. Madara survives, by a means explained much later.
shownNaruto · ch. 656–657Confirms the ladder
Madara Uchiha beat Hashirama Senju in Naruto.
Brought back to life mid-fight, Madara pins the reanimated Hashirama with chakra receivers and drains his sage chakra; Hashirama cannot move until the receivers fade.
What each of them is ranked on
1 win · Madara Uchiha · rank 4
shippuden
Five Kage at once, then the allied army, then the two protagonists together — the war arc keeps escalating what it puts in front of him and he keeps going through it. The only reason he is not first is that he is removed from the story by betrayal rather than by any of it, which is a statement about Kaguya and not about the people who could not stop him.
shownNaruto · Fourth Shinobi World War arc
Fights the assembled Five Kage simultaneously and defeats them. — 2013
shownNaruto · Fourth Shinobi World War arc
Becomes the Ten-Tails jinchuriki and engages the allied forces. — 2014
1 win · Hashirama Senju · rank 13
The First Hokage — shippuden
Called the God of Shinobi for a century of story before anything he does is put on the page, and when it finally is — reanimated, against a reanimated Madara — the wood forest he raises is the largest single construction anyone here produces. He is marked contested over the ratio: a century of reputation resting on a handful of late appearances in which he is already dead.
shownNaruto · Fourth Shinobi World War arc
Fights the reanimated Madara using large-scale Wood Release. — 2013
statedNaruto · Fourth Shinobi World War arc
Referred to as the God of Shinobi. — 2013
What this does not settle
2 results, each cited, and the tally counts every one of them the same. That is its rough edge: a win at one side's lowest weighs as much as a win at its peak, which is why a level score goes to the latest result rather than to a judgement about which fight mattered. It is a record of meetings, not a ranking of its own.
The ladder above it is argued from everything either of them has been shown doing; this page is argued from these 2 citations.
Where the two disagree, the disagreement is the point, and it stays visible rather than being resolved by whichever of them happens to be on this page.