[Machine] When the Messenger of Allah ﷺ approached Khaybar, he said to his companions, "Stop here." Then he said, "O Allah, Lord of the heavens and what they shade, Lord of the earth and what it carries, Lord of the devils and what they misguide, Lord of the winds and what they scatter, I ask You for the goodness of this town and the goodness of its people, and I seek refuge with You from its evil and the evil of its people and the evil that is within it. In the name of Allah, advance." He used to say this upon entering every town.
أَنَّ رَسُولَ اللهِ ﷺ لَمَّا أَشْرَفَ عَلَى خَيْبَرَ قَالَ لِأَصْحَابِهِ وَأَنَا فِيهِمْ «قِفُوا» ثُمَّ قَالَ «اللهُمَّ رَبَّ السَّماوَاتِ وَمَا أَظْلَلْنَ وَرَبِّ الْأَرَضِينَ وَمَا أَقْلَلْنَ وَرَبِّ الشَّيَاطِينِ وَمَا أَضْلَلْنَ وَرَبِّ الرِّيَاحِ وَمَا ذَرَيْنَ أَسْأَلُكُ خَيْرَ هَذِهِ الْقَرْيَةِ وَخَيْرَ أَهْلِهَا وَأَعُوذُ بِكَ مِنْ شَرِّهَا وَشَرِّ أَهْلِهَا وَشَرِّ مَا فِيهَا قَدِّمُوا بِسْمِ اللهِ» وَكَانَ يَقُولُهَا لِكُلِّ قَرْيَةٍ يَدْخُلُهَا