AY 414 then QR 302 at Helsinki
Kajaani → Helsinki → Doha
Timetable, Helsinki time
16:00AY 414 from Kajaani at the gate
15:05QR 302 to Doha leaves the gate
23 h 05 apart on the timetable, overnight
QR 302 leaves 23 h 05 after AY 414 arrives on the timetable: more than half a day, so not a connection we count.