Changing the qiblah from Al-Quds (Jerusalem) to the Ka`bah Sahih Muslim 526 b
Translation
Ibn 'Umar reported
As the people were engaged in the morning prayer a man came to them. The rest of the hadith is the same.