Go over (something) with a fine-toothed comb

To search through something very carefully (fine-tooth comb is also correct).

We went over the room with a fine-toothed comb while looking for the earring.