BY 4455 then U2 8635 at Gatwick
Málaga → London → Hamburg
Timetable, London time
16:00BY 4455 from Málaga at the gate
13:00U2 8635 to Hamburg leaves the gate
21 h apart on the timetable, overnight
U2 8635 leaves 21 h after BY 4455 arrives on the timetable: more than half a day, so not a connection we count.