FR 5712 then UX 1157 at Madrid
Budapest → Madrid → Lisbon
Timetable, Madrid time
20:05FR 5712 from Budapest at the gate
18:55UX 1157 to Lisbon leaves the gatealso SK 8372
22 h 50 apart on the timetable, overnight
UX 1157 leaves 22 h 50 after FR 5712 arrives on the timetable: more than half a day, so not a connection we count.