(22) باب فَرْضِ الْقِبْلَةِ .
It was narrated that Al-Bara' said:
"We prayed toward Bait Al-Maqdis (Jerusalem) with the Messenger of Allah (ﷺ) for sixteen or seventeen months - Safwan was not sure - then it was changed to the Qiblah." (ID)
Reference (ID): Sunan an-Nasa'i 488 (ID)
In-book reference (ID): Book 5, Hadith 41 (ID)
English translation (ID): Vol. 1, Book 5, Hadith 489 (ID)