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