Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) narrates: After the Battle of Badr was over, it was said to the Messenger of Allah (peace and blessings be upon him): "Go after the trade caravan; now there is nothing standing in its way." Then Sayyiduna Abbas (may Allah be pleased with him), who at that time was a captive in bonds, said: "That is not right." The Messenger of Allah (peace and blessings be upon him) asked: "Why?" He said: "Because Allah Almighty promised you one of the two groups, and He has given you what He promised you."
Related hadith on this topic