TP 1036 then IB 5798 at Barcelona
Lisbon → Barcelona → Cagliari
Timetable, Barcelona time
17:15TP 1036 from Lisbon at the gatealso A3 1762, EK 4860, OU 5727, AD 7283, S4 8706
07:15IB 5798 to Cagliari leaves the gatealso LL 5798, VY 6114
14 h apart on the timetable, overnight
IB 5798 leaves 14 h after TP 1036 arrives on the timetable: more than half a day, so not a connection we count.