Al-Ilmam bi-Ahadith al-Ahkam 127
وَعَن أبي الزبير أَنه سمع جَابر بن عبد الله رَضِيَ اللَّهُ عَنْهما يَقُول: سَمِعت رَسُول الله ﷺ يَقُول: " بَين الرجل وَبَين الشّرك وَالْكفْر ترك الصَّلَاة ". [وَرَوَى البُخَارِيّ فِي " صَحِيحه ": أَن أَعْرَابِيًا أَتَى النَّبِي ﷺ فَقَالَ: يَا رَسُول الله، مَا فرض الله عليَّ؟ قَالَ: " خمس صلوَات فِي الْيَوْم وَاللَّيْلَة "، قَالَ: هَل عليَّ غَيْرهنَّ؟ قَالَ: " لَا، إِلَّا أَن تطوع ". الحَدِيث. وَعنهُ ﷺ قَالَ: " رُفع الْقَلَم عَن: الصبيّ حَتَّى يبلغ، والنائم حَتَّى يَسْتَيْقِظ، وَعَن الْمَجْنُون حَتَّى يفِيق ". وَرَوَى التِّرْمِذِيّ فِي " صَحِيحه " أَن رَسُول الله ﷺ قَالَ: " مروا الصَّبِي للصَّلَاة لسبع، واضربوه عَلَى تَركهَا لعشر ".] .
From Abu az-Zubayr, that he heard Jabir ibn ʿAbdullah, may Allah be pleased with them both, say: I heard the Messenger of Allah ﷺ say: "Between a man and shirk and disbelief is abandoning the prayer." [Al-Bukhari narrated in his Sahih that a Bedouin came to the Prophet ﷺ and said: "O Messenger of Allah, what has Allah made obligatory on me?" He said: "Five prayers in the day and night." He said: "Is anything else [obligatory] on me?" He said: "No, unless you do something voluntarily." The hadith. And from him ﷺ, he said: "The pen has been lifted from: the child until he reaches puberty, the sleeper until he wakes, and the insane until he recovers." At-Tirmidhi narrated in his Sahih that the Messenger of Allah ﷺ said: "Command the child to pray at seven, and beat him for neglecting it at ten."]