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