LH 891 then 4Y 900 at Frankfurt
Riga → Frankfurt am Main → Dubrovnik
Timetable, Frankfurt am Main time
16:05LH 891 from Riga at the gate
09:254Y 900 to Dubrovnik leaves the gate
17 h 20 apart on the timetable, overnight
4Y 900 leaves 17 h 20 after LH 891 arrives on the timetable: more than half a day, so not a connection we count.