EC 7174 then QR 3646 at Barcelona
Berlin → Barcelona → Almeria
Timetable, Barcelona time
13:50EC 7174 from Berlin at the gate
12:35QR 3646 to Almeria leaves the gate
22 h 45 apart on the timetable, overnight
QR 3646 leaves 22 h 45 after EC 7174 arrives on the timetable: more than half a day, so not a connection we count.