Hadithcore
Musnad Ahmad 2260
hasan

It was narrated from Ibn 'Abbas (رضي الله عنه) that the Prophet (ﷺ) said:

“There is no marriage except with a guardian, and the ruler is the guardian of the one who has no guardian.”

References1 variant
Arabic/English book
Book 25, Hadith 2260