The Prophet ﷺ went out to pray for rain. He prayed two rakahs and faced the qiblah.
أخبرنا عمرو بن علي قال حدثنا يحيى بن سعيد عن يحيى عن أبي بكر بن محمد عن عباد بن تميم
أن النبي ﷺ خرج يستسقي فصلى ركعتين واستقبل القبلة
[sahih], mentioned previously, no. 1506, and it is also in Kubra, no. 1825.