Ali bin Abu Talib reported,

The Messenger of Allah ﷺ came in to visit Ali and Fatimah رضي الله عنها one night and woke them for prayer. Then he returned to his house and prayed for a portion of the night. He heard no sound from us, so he came back to us, woke us up, and said, "Get up and pray."Ali said, I sat up rubbing my eyes and said, "By Allah, we only pray what has been decreed for us. Our souls are in the hand of Allah, so when He wishes to rouse us, He rouses us."The Messenger of Allah ﷺ turned away, striking his thigh with his hand and saying, "We only pray what has been decreed for us, we only pray what has been decreed for us. 'And man is ever, in most things, contentious'" [Kahf 18:54].

Ahmad 705

Sahih

حدثنا يعقوب حدثنا أبي عن ابن إسحاق حدثني حكيم بن حكيم بن عباد بن حنيف عن محمد بن مسلم بن عبيد الله بن شهاب عن علي بن حسين عن أبيه عن جده

علي بن أبي طالب رضي الله عنه قال

دخل علي رسول الله ﷺ وعلى فاطمة رضي الله عنها من الليل فأيقظنا للصلاة قال ثم رجع إلى بيته فصلى هويا من الليل قال فلم يسمع لنا حسا قال فرجع إلينا فأيقظنا وقال قوما فصليا قال فجلست وأنا أعرك عيني وأقول إنا والله ما نصلي إلا ما كتب لنا إنما أنفسنا بيد الله فإذا شاء أن يبعثنا بعثنا قال فولى رسول الله ﷺ وهو يقول ويضرب بيده على فخذه ما نصلي إلا ما كتب لنا ما نصلي إلا ما كتب لنا {وكان الإنسان أكثر شيء جدلا}

أحمد 705صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Ali bin Abu Talib
Numbering
Darussalam 705
Ahmad 705