It was narrated from Abu Sa’d bin Abu Fadalah Al-Ansari, who was one of the Companions, that the Messenger of Allah (ﷺ) said:
“When Allah assembles the first and the last on the Day of Resurrection, a day concerning which there is no doubt, a caller will cry out: ‘Whoever used to associate anyone else in an action that he did for Allah, let him seek his reward from someone other than Allah, for Allah is so self-sufficient that He has no need of any associate.’”