Whoever sees in a dream that he pledged allegiance to the household of the Prophet (God bless him and grant him peace) and their followers will follow guidance and preserve the laws of Islam and the straight path. If he sees that he pledged allegiance to one of the commanders of the frontier posts, it is good news for him and of his victory over his enemies, and he will be repentant, worshipping, praising God, bowing and prostrating. If he pledged allegiance to a sinner, he will help sinful people. If he pledged allegiance beneath a tree, he will obtain spoils in what pleases God Most High.
Dream meaning · al-Nabulsi
Pledge of allegiance مبايعة
Source: al-Nabulsi, Ta'tir al-Anam fi Ta'bir al-Manam, p. 324. English translation by iDreamBot. Quran verses: Quran.com, Saheeh International.