حَدَّثَنَا عَمْرُو بْنُ مُحَمَّدٍ ، حَدَّثَنَا مُعَمَّرُ بْنُ سُلَيْمَانَ الرَّقِّيُّ ، حَدَّثَنَا حَجَّاجٌ ، عَنْ عِكْرِمَةَ ، عَنِ ابْنِ عَبَّاسٍ قَالَ : قَالَ رَسُولُ اللهِ - صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ - : لَا نِكَاحَ إِلَّا بِوَلِيٍّ ، وَالسُّلْطَانُ وَلِيُّ مَنْ لَا وَلِيَّ لَهُ .
It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) said: "There is no marriage (validly contracted) without a guardian (wali), and the sultan (the ruler of the time) is the guardian of the one who has no guardian."