The Messenger of Allah ﷺ performed the prayer of fear twice while the polytheists were positioned between the Muslims and the qiblah, once in the land of Banu Sulaym and once at Usfan.
قال حدثنا مؤمل حدثنا سفيان عن منصور عن مجاهد
صلى رسول الله ﷺ صلاة الخوف والمشركون بينهم وبين القبلة مرتين مرة بأرض بني سليم ومرة بعسفان