VY 1161 then VY 1140 at Barcelona
Munich → Barcelona → Almeria
Timetable, Barcelona time
11:55VY 1161 from Munich at the gatealso IB 5121, LL 5121
11:25VY 1140 to Almeria leaves the gatealso IB 5088, LL 5088
23 h 30 apart on the timetable, overnight
VY 1140 leaves 23 h 30 after VY 1161 arrives on the timetable: more than half a day, so not a connection we count.