When they went to what is today Iraq, they went to the Wassit’ mosque built in 706 and that mosque – Qibla was facing west. When they went to the Kufa’ mosque, which is also in Iraq, that mosque was also facing west.