Ayesha reported,

One night the Prophet ﷺ was unable to sleep, so he said, "I wish a righteous man from among my companions would stand guard over me tonight." Just then we heard the sound of weapons.He asked, "Who is this?"The reply came, "It is Saad, Messenger of Allah. I have come to guard you."The Prophet ﷺ then slept until we heard him snoring.Abu Abdullah said, Ayesha reported that Bilal recited, "Would that I knew whether I shall spend a night once more in a valley with idhkhir and jalil grasses around me." She then told the Prophet ﷺ of it.

Bukhari 7231

Sahih

حدثنا خالد بن مخلد حدثنا سليمان بن بلال حدثني يحيى بن سعيد سمعت عبد الله بن عامر بن ربيعة قال

قالت عائشة

أرق النبي ﷺ ذات ليلة فقال ليت رجلا صالحا من أصحابي يحرسني الليلة إذ سمعنا صوت السلاح قال من هذا قال سعد يا رسول الله جئت أحرسك فنام النبي ﷺ حتى سمعنا غطيطه قال أبو عبد الله وقالت عائشة قال بلال ألا ليت شعري هل أبيتن ليلة بواد وحولي إذخر وجليل فأخبرت النبي ﷺ

البخاري 7231صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Wishing
Chapter
His saying ﷺ, "Would that such and such"
Numbering
Darussalam 7231
Bukhari 7231