Hearts defeated Aberdeen 1-0 at Pittodrie in the Ladbrokes Premiership on Thursday night.
Abiola Dauda scored the only goal in 64 minutes, netting from close range after Alim Ozturk's shot had been saved.
Hearts finish the season against St Johnstone on Sunday while Aberdeen take on Ross County.