FR 8385 then IB 5112 at Barcelona
Budapest → Barcelona → Lisbon
Timetable, Barcelona time
22:40FR 8385 from Budapest at the gate
12:15IB 5112 to Lisbon leaves the gate
13 h 35 apart on the timetable, overnight
IB 5112 leaves 13 h 35 after FR 8385 arrives on the timetable: more than half a day, so not a connection we count.