FR 4586 then LL 5112 at Barcelona
Porto → Barcelona → Lisbon
Timetable, Barcelona time
19:45FR 4586 from Porto at the gate
12:15LL 5112 to Lisbon leaves the gate
16 h 30 apart on the timetable, overnight
LL 5112 leaves 16 h 30 after FR 4586 arrives on the timetable: more than half a day, so not a connection we count.