FR 10 then FR 9493 at Madrid
Dublin → Madrid → Pisa
Timetable, Madrid time
22:35FR 10 from Dublin at the gate
21:45FR 9493 to Pisa leaves the gate
23 h 10 apart on the timetable, overnight
FR 9493 leaves 23 h 10 after FR 10 arrives on the timetable: more than half a day, so not a connection we count.