LH 1812 then LA 5754 at Barcelona
Munich → Barcelona → Alicante
Timetable, Barcelona time
14:30LH 1812 from Munich at the gate
12:40LA 5754 to Alicante leaves the gate
22 h 10 apart on the timetable, overnight
LA 5754 leaves 22 h 10 after LH 1812 arrives on the timetable: more than half a day, so not a connection we count.