FR 3187 then FR 9472 at Madrid
Manchester → Madrid → Pisa
Timetable, Madrid time
22:25FR 3187 from Manchester at the gate
20:35FR 9472 to Pisa leaves the gate
22 h 10 apart on the timetable, overnight
FR 9472 leaves 22 h 10 after FR 3187 arrives on the timetable: more than half a day, so not a connection we count.