The Messenger of Allah ﷺ said, "Whoever says, 'In the name of Allah, with whose name nothing on earth or in heaven can cause harm, and He is the All-Hearing, the All-Knowing,' nothing will harm him."
حدثنا عبيد بن أبي قرة حدثنا ابن أبي الزناد عن أبيه
قال رسول الله ﷺ من قال بسم الله الذي لا يضر مع اسمه شيء في الأرض ولا في السماء وهو السميع العليم لم يضره شيء