FR 3077 then FR 4084 at Barcelona
Stockholm → Barcelona → Warsaw Modlin
Timetable, Barcelona time
19:50FR 3077 from Stockholm at the gate
19:45FR 4084 to Warsaw Modlin leaves the gate
23 h 55 apart on the timetable, overnight
FR 4084 leaves 23 h 55 after FR 3077 arrives on the timetable: more than half a day, so not a connection we count.