Matthew Hayden scored his 28th test century in the match , making 124 before being caught out by Sourav Ganguly .