Sidi ibn Mashish was the master of the great Imam of tasawwuf Sidi Abul Hasan as-Shadhili (RA) and regarded as the Qutb of his time. As-Salatul-Mashish is a beautiful litany summarizing the sufi understanding of the greatness of the rank of the Blessed Prophet (upon him be Peace and Blessings).
This is only text which has come down from Ibn Mashish, a metaphysical paraphrase of a widely known prayer, in which the believer calls on God to bless the Prophet as if to thank him for having received Islam through him. – http://www.deenislam.co.uk
The Salutation of Al-Mashish
In the Name of Allah, The Universally Merciful, The Singularly Compassionate
O Allah shower Your blessings upon him from whom burst open the secrets, from whom stream forth the lights, and in whom rise up the realities, and upon whom descended the sciences of Adam, by which all creatures are made powerless, and blessings upon him before whom all understanding is diminished.
None of us totally comprehend him, whether in the past or the future The gardens of the spiritual kingdom blossom ornately with the resplendence of his beauty, and the reservoirs of the World of Dominion overflow with the outpouring of his light.
There is nothing that is not connected to him, because if there were no intercessor, everything to be interceded for would vanish, as it is said. So bless him with a prayer that is worthy of You, from You, as befits his stature. O Allah indeed he is Your all-encompassing secret that leads through You to You and he is Your Supreme Veil raised before You, between Your Hands.
O Allah include me among his descendants and confirm me through his account and let me know him with a deep knowledge that keeps me safe from the wells of ignorance, so that I might drink to fullness from the wells of excellence
Carry me on his path to Your Presence encompassed by Your Victory, and strike through me at the false so that I may destroy it. Plunge me into the seas of Oneness, pull me out of the morass of metaphorical Unity, and drown me in the Essence of the Ocean of Unicity until I neither see, nor hear, nor find, nor sense, except through It.
O Allah make the Supreme Veil the life of my spirit and his soul the secret of my reality and his reality the conflux of my worlds through the realization of the First Truth. O First! O Last! O Manifest! O Most Hidden! Hear my call as You heard the call of your servant Zakariya and grant me victory through You, for You and support me through You, for You and join me to You and come between myself and anything other than You—
Allaaah! Allaaah! Allaaah! [Hold each ĀĀĀ for twelve slow measures]
Indeed He, Who ordained the Qur’an for you, will return you to the station of your Ultimate Destiny. [O Lord grant us from Your Presence Mercy and endow us, whatever our outward condition, with sure Guidance!] [3x]