FR 3813 then AV 2506 at Madrid
Bologna → Madrid → Lisbon
Timetable, Madrid time
21:35FR 3813 from Bologna at the gate
18:00AV 2506 to Lisbon leaves the gatealso LO 4763, EK 4859, AD 7273, S4 8963
20 h 25 apart on the timetable, overnight
AV 2506 leaves 20 h 25 after FR 3813 arrives on the timetable: more than half a day, so not a connection we count.