FR 4586 then LA 5773 at Barcelona
Porto → Barcelona → Lisbon
Timetable, Barcelona time
21:10FR 4586 from Porto at the gate
12:15LA 5773 to Lisbon leaves the gate
15 h 05 apart on the timetable, overnight
LA 5773 leaves 15 h 05 after FR 4586 arrives on the timetable: more than half a day, so not a connection we count.