It is narrated from Sayyiduna Abdullah bin Zayd bin Asim (may Allah be pleased with him) — who was a member of Abbad bin Tamim's clan, and was one of the Companions of the Messenger of Allah (peace and blessings be upon him), and had taken part with him (peace and blessings be upon him) in the Battle of Uhud — that he said: "I saw the Messenger of Allah (peace and blessings be upon him) when he (peace and blessings be upon him) prayed for rain for us; he (peace and blessings be upon him) made the supplication long and implored much." He said: "Then he (peace and blessings be upon him) turned towards the qiblah and turned his cloak over, that is, he made its inner side outward and its outer side inward, and the people also turned (towards the qiblah) along with him (peace and blessings be upon him)."
Related hadith on this topic