IB 537 then FR 9904 at Lisbon
Madrid → Lisbon → Rome
Timetable, Lisbon time
20:05IB 537 from Madrid at the gate
15:55FR 9904 to Rome leaves the gate
19 h 50 apart on the timetable, overnight
FR 9904 leaves 19 h 50 after IB 537 arrives on the timetable: more than half a day, so not a connection we count.