UX 1159 then EC 7681 at Lisbon
Madrid → Lisbon → Barcelona
Timetable, Lisbon time
06:50UX 1159 from Madrid at the gate
06:25EC 7681 to Barcelona leaves the gate
23 h 35 apart on the timetable, overnight
EC 7681 leaves 23 h 35 after UX 1159 arrives on the timetable: more than half a day, so not a connection we count.