Al-Ala bin Qays al-Kahili said: "I asked Ata about prayer in a ship, and he said: 'Do not pray in it as long as you can find the shore.'"