VY 4185 then QR 4704 at Barcelona
Munich → Barcelona → Porto
Timetable, Barcelona time
14:55VY 4185 from Munich at the gate
08:35QR 4704 to Porto leaves the gate
17 h 40 apart on the timetable, overnight
QR 4704 leaves 17 h 40 after VY 4185 arrives on the timetable: more than half a day, so not a connection we count.