SK 581 then FR 9472 at Madrid
Copenhagen → Madrid → Pisa
Timetable, Madrid time
12:00SK 581 from Copenhagen at the gate
06:15FR 9472 to Pisa leaves the gate
18 h 15 apart on the timetable, overnight
FR 9472 leaves 18 h 15 after SK 581 arrives on the timetable: more than half a day, so not a connection we count.