Farah had been due to run in the 10,000m race, but changed to the 5,000m after suffering from a stomach virus.
Christine Ohuruogu had to settle for fourth in the 400m, Perri Shakes-Drayton came sixth in the 400m hurdles and Greg Rutherford could only manage third in the long jump.