TP 1037 then U2 7651 at Lisbon
Barcelona → Lisbon → Madrid
Timetable, Lisbon time
19:10TP 1037 from Barcelona at the gate
19:05U2 7651 to Madrid leaves the gate
23 h 55 apart on the timetable, overnight
U2 7651 leaves 23 h 55 after TP 1037 arrives on the timetable: more than half a day, so not a connection we count.