Let R be a noncommutative ring with unity. The commuting graph of R, denoted by , is a graph whose vertices are noncentral elements of R and two distinct vertices x and y are adjacent if . Let F be a finite field and . It is conjectured by Akbari, Ghandehari, Hadian and Mohammadian in 2004 that if , then . In this paper, we prove the conjecture whenever n is of the form with .