“Piety is not in which direction you face; real piety is to believe in Allah and the Final Day and...”
This ayah is part of the Qibla-change passage of Surah al-Baqarah, revealed around the change of the direction of prayer from Jerusalem to the Ka'bah.