FR 4596 then LA 5761 at Barcelona
Porto → Barcelona → Edinburgh
Timetable, Barcelona time
22:15FR 4596 from Porto at the gate
17:55LA 5761 to Edinburgh leaves the gatealso IB 5852, LL 5852, VY 7752, BA 8102
19 h 40 apart on the timetable, overnight
LA 5761 leaves 19 h 40 after FR 4596 arrives on the timetable: more than half a day, so not a connection we count.