FR 7156 then FR 9472 at Madrid
Dublin → Madrid → Pisa
Timetable, Madrid time
23:45FR 7156 from Dublin at the gate
12:25FR 9472 to Pisa leaves the gate
12 h 40 apart on the timetable, overnight
FR 9472 leaves 12 h 40 after FR 7156 arrives on the timetable: more than half a day, so not a connection we count.