OS 402 then FR 5546 at Vienna
Barcelona → Vienna → Agadir
Timetable, Vienna time
12:10OS 402 from Barcelona at the gate
06:05FR 5546 to Agadir leaves the gate
17 h 55 apart on the timetable, overnight
FR 5546 leaves 17 h 55 after OS 402 arrives on the timetable: more than half a day, so not a connection we count.