QF 523 then QF 2064 at Sydney
Brisbane → Sydney → Ballina
Timetable, Sydney time
13:15QF 523 from Brisbane at the gate
09:20QF 2064 to Ballina leaves the gate
20 h 05 apart on the timetable, overnight
QF 2064 leaves 20 h 05 after QF 523 arrives on the timetable: more than half a day, so not a connection we count.