Abdullah bin Dinar reported,

I was present with Ibn Umar when the people had united in allegiance to Abdul-Malik. He said, "Write that I acknowledge hearing and obeying Abdullah Abdul-Malik, Commander of the Faithful, in accordance with the way of Allah and the way of His Messenger to the best of my ability, and that my sons have likewise acknowledged the same."

Bukhari 7203

Sahih

حدثنا مسدد حدثنا يحيى عن سفيان حدثنا

عبد الله بن دينار قال

شهدت ابن عمر حيث اجتمع الناس على عبد الملك قال كتب إني أقر بالسمع والطاعة لعبد الله عبد الملك أمير المؤمنين على سنة الله وسنة رسوله ما استطعت وإن بني قد أقروا بمثل ذلك

البخاري 7203صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Rulings
Chapter
How the imam takes the pledge of allegiance from the people
Numbering
Darussalam 7203
Bukhari 7203