I asked Ubayy bin Kaab about the two surahs of refuge. He said, "I asked the Prophet ﷺ about them, and he said, 'It was said to me, so I said it to you, so say it.'"Ubayy said, "The Prophet ﷺ said it to us, so we say it."
حدثنا وكيع حدثنا سفيان عن عاصم
سألت أبي بن كعب عن المعوذتين فقال سألت النبي ﷺ عنهما فقال قيل لي فقلت لكم فقولوا قال أبي فقال لنا النبي ﷺ فنحن نقول