FR 6945 then EC 7694 at Barcelona
Warsaw Modlin → Barcelona → Lisbon
Timetable, Barcelona time
17:00FR 6945 from Warsaw Modlin at the gate
15:30EC 7694 to Lisbon leaves the gate
22 h 30 apart on the timetable, overnight
EC 7694 leaves 22 h 30 after FR 6945 arrives on the timetable: more than half a day, so not a connection we count.