Jabir said, "We used to practice withdrawal while the Quran was being revealed. Had it been something to be forbidden, the Quran would have forbidden it."In another wording, "We used to practice withdrawal during the time of the Messenger of Allah ﷺ."
كنا نعزل والقرآن ينزل، لو كان شيئا ينهى عنه لنهانا عنه القرآن. وفي لفظ: كنا نعزل على عهد رسول الله ﷺ.
Bukhari related it in the Book of Marriage (5208), and Muslim in the Book of Marriage (1440), both through the route of Sufyan (that is, Ibn Uyayna), from Amr (that is, Ibn Dinar), Ataa told me that he heard Jabir, and he mentioned it. The other wording is found in Bukhari (5207) through the route of Ibn Jurayj, and in Muslim through the route of Maqil, both of them from Ataa, from Jabir.This shows that it is permissible to derive a legal ruling from tacit approval by Allah and His Messenger. For if that thing had been forbidden, they would not have been left to continue doing it. So when a companion attributes a practice to the time of the Prophet ﷺ, the basic assumption is that he was aware of it, since their motives for asking him about such matters were strong, unless it is established that he ﷺ was not aware of it, in which case it does not carry the status of being directly attributed to him.