Sahl bin Saad reported,

When the qiblah was changed to the Kaabah, a man passed by the people of Quba while they were praying. He said to them, "The qiblah has been changed to the Kaabah." So they turned, along with their imam, to face the Kaabah.

Azami 1927

Hasan

عن سهل بن سعد، قال

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

الأعظمي 1927حسن
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 1927 (2nd edition)
Azami 1927