Perhaps you are familiar with the narration attributed to the Prophet (S):
Al-Qummi indicates on page 432, Vol. 2, of his Tafsir, that the Messenger of Allah (S) once saw in a vision monkeys climbing over his pulpit, and he felt very distressed; thereupon, the chapter of Qadr was revealed to remove his distress. The period of Banu Umayyad's government lasted roughly a thousand months: from 661 to 750 A.D., with the first ruler being Abu Sufyan and the last Mu’awiyah al-Himar.
Both al-Kulayni in his Al-Kafi and al-Majlisi in his Bihar al-Anwar quote Ahmed ibn Muhammad quoting Ali ibn al-Hassan quoting Muhammad ibn al-Walid and Muhammad ibn Ahmed quoting Yunus ibn Ya’qub quoting Ali ibn ‘Eisa al-Qammat quoting his uncle quoting Imam Abu Abdullah al-Sadiq (as) saying, "The Messenger of Allah (S) was shown in a vision how Banu Umayyah climbed over his pulpit (like monkeys climb over trees), so he felt very unhappy, whereupon Gabriel (as) descended upon him and asked him why he was so forlorn.
He (S) said, ‘I have seen (in a vision) tonight Banu Umayya ascending my pulpit after having misled people from the Straight Path.' Gabriel (as) said, ‘I swear by the One Who has sent me (as a messenger) with the truth, this is something with which I am not familiar.' Having said so, he ascended to the heavens. After a short while, he brought him one verse to remove thereby his grief; it said: ‘Have you considered if We would let them enjoy themselves for (a few) years, then that with which they are threatened comes to them, so much so that whatever they were permitted to enjoy shall not avail them (in the least)?' (Holy Qur'an, Surah Shu’ara 26:205-207).