Habib bin Jurayy said: I asked Abu Ja'far about praying behind the rulers, and he said: "Pray with them."