The Infinite Tsukuyomi does not affect Hashirama, Tobirama, Hiruzen and Minato because they are reanimated. Hagoromo, the Sage of the Six Paths, appears and explains to the four that Hashirama and Madara are the reincarnations of his sons Ashura and Indra. Hagoromo recounts the tale of how he founded Ninshu, the Ninja Creed, and about the lives of Ashura and Indra.
And later, on my deathbed,
،وفي وقتٍ لاحق، عندما كنتُ على شفا الموت
Und später auf meinem Sterbebett
Más tarde,
cuando estuve a punto de morir,
Más tarde,
cuando estaba a punto de morir,
E più tardi, sul mio letto di morte,
E então, quando eu 
estava prestes a morrer,