Hasan (may Allah have mercy on him) said regarding the statement of Allah the Exalted: ﴿And consult them in the matter﴾: Allah the Exalted knew that these noble Companions (may Allah be pleased with them) had no need of it, but Allah the Exalted wanted to establish a Sunnah through it for those who would come after.
Hadith Referenceسنن سعید بن منصور / كتاب التفسير / 534
Hadith Gradingمحدثین:سنده رجاله ثقات، لكنه ضعيف للانقطاع بين ابن شبرمة، والحسن البصري
Hadith Takhrij«أخرجه سعيد بن منصور فى (سننه) برقم: 534، والبيهقي فى(سننه الكبير) برقم: 20362»