Ibn Abi Dhi'b narrates from the freed slave of al-Taw'amah that he said: Sayyiduna Abu Hurayrah (may Allah be pleased with him) and I used to pray the obligatory prayer on the roof of the mosque, along with the imam.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 5244