FR 5930 then IB 1145 at Madrid
Fes → Madrid → Lisbon
Timetable, Madrid time
19:45FR 5930 from Fes at the gate
19:40IB 1145 to Lisbon leaves the gatealso LA 1670, VY 5748
23 h 55 apart on the timetable, overnight
IB 1145 leaves 23 h 55 after FR 5930 arrives on the timetable: more than half a day, so not a connection we count.