Mis'ar said: I asked Ata about a person who prays facing a direction other than the qiblah, and he said: "His prayer is valid."