Sayyiduna Abdullah bin Mas'ud (may Allah be pleased with him) said: Once the Messenger of Allah (peace and blessings be upon him) was praying near the Ka'bah, and the polytheists, gathered in their assemblies, were watching. One of them said: Do you not see this show-off? Which of you will go to the camel of the family of so-and-so, bring its dung, blood and entrails, then wait for him to go into prostration, and when he goes into prostration, place it between his shoulders? So the most wretched of the people got up and brought the entrails and the rest. When he (peace and blessings be upon him) went into prostration, that wretch placed it between his (peace and blessings be upon him) shoulders. He (peace and blessings be upon him) remained in prostration, and seeing this they began to laugh, until from intense laughter they started falling on one another. Then someone went to Sayyidah Fatimah (may Allah be pleased with her), who was a young girl at that time. She came running, removed the entrails from him (peace and blessings be upon him), and then began rebuking them (the polytheists). When the Messenger of Allah (peace and blessings be upon him) had completed the prayer, he said three times: "O Allah, seize Quraysh!" Then he named those people and supplicated: "O Allah, seize Amr bin Hisham, Utbah bin Rabi'ah, al-Walid bin Utbah, Umayyah bin Khalaf, Uqbah bin Abi Mu'ayt and Umarah bin al-Walid, all of them!" Sayyiduna Abdullah bin Mas'ud (may Allah be pleased with him) said: By Allah! On the day of Badr I saw all of them lying fallen (on the battlefield); then they were dragged and thrown into the well of Badr. After that the Messenger of Allah (peace and blessings be upon him) said: "A curse has been made to follow the people of the well (al-qalib)."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب السير / 17729