FR 9673 then IB 739 at Madrid
Rome → Madrid → Amsterdam
Timetable, Madrid time
23:30FR 9673 from Rome at the gate
19:35IB 739 to Amsterdam leaves the gate
20 h 05 apart on the timetable, overnight
IB 739 leaves 20 h 05 after FR 9673 arrives on the timetable: more than half a day, so not a connection we count.