Sayyiduna Ali (may Allah be pleased with him) said: The Messenger of Allah (peace and blessings be upon him) commanded me to stop up the water of the wells of Badr.
(b) Yahya bin Sa'id (may Allah have mercy on him) said: The Prophet (peace and blessings be upon him) sought counsel on the day of Badr, and al-Hubab bin al-Mundhir (may Allah be pleased with him) said: Our view is that you stop up all the water sources except one, and at that one we will meet the enemy.
Abu Rabi'ah Muhammad bin Awf and Yusuf bin Khalid (who also narrated it from Harun) are both da'if (weak).
Hadith Referenceالسنن الكبرى للبيهقي / كتاب السير / 18123