FR 3078 then TP 1014 at Lisbon
Barcelona → Lisbon → Madrid
Timetable, Lisbon time
21:35FR 3078 from Barcelona at the gate
11:45TP 1014 to Madrid leaves the gate
14 h 10 apart on the timetable, overnight
TP 1014 leaves 14 h 10 after FR 3078 arrives on the timetable: more than half a day, so not a connection we count.