Anas bin Malik reported,

The Messenger of Allah's ﷺ announcer came and said, "The qiblah has been changed." The imam was leading the prayer and had already prayed two units. The announcer said, "The qiblah has been changed to the Kaabah." So they prayed the remaining two units facing the Kaabah.

Azami 1925

Hasan

عن أنس قال

جاء منادي رسول الله ﷺ فقال: إن القبلة قد حولت. والإمام في الصلاة قد صلى ركعتين. فقال المنادي: قد حولت القبلة إلى الكعبة. فصلوا الركعتين الباقيتين إلى الكعبة.

الأعظمي 1925حسن
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Prayer
Chapter
Description of prayer, the takbir, standing, and recitation
Section
Changing the qibla from Bayt al-Maqdis to the Sacred House of Allah
Numbering
Jami al-Kamil 1925 (2nd edition)
Azami 1925