GQ 875 then SM 652 at Athens
Berlin → Athens → Cairo
Timetable, Athens time
19:25GQ 875 from Berlin at the gate
18:00SM 652 to Cairo leaves the gate
22 h 35 apart on the timetable, overnight
SM 652 leaves 22 h 35 after GQ 875 arrives on the timetable: more than half a day, so not a connection we count.