EC 7646 then FR 3079 at Lisbon
Madrid → Lisbon → Barcelona
Timetable, Lisbon time
18:25EC 7646 from Madrid at the gate
18:20FR 3079 to Barcelona leaves the gate
23 h 55 apart on the timetable, overnight
FR 3079 leaves 23 h 55 after EC 7646 arrives on the timetable: more than half a day, so not a connection we count.