It is narrated from Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) that one of the Prophets sent out an army, and its banner was turned back (without success). Then he sent an army again, and it was turned back again; then he sent it again, and it was turned back again, (and all this) happened because of the misappropriation (theft from the spoils of war) of the head of a deer made of gold. Then this verse was revealed: "And it is not befitting for a Prophet to act dishonestly."
Related hadith on this topic