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