أَخْبَرَنَا أَبُو جَعْفَرٍ الْمُسْتَمْلِي ، أَخْبَرَنَا مُحَمَّدُ بْنُ أَحْمَدَ بْنِ سِنَانٍ النَّحْوِيُّ ، أَخْبَرَنَا الْحَسَنُ بْنُ سُفْيَانَ ، حَدَّثَنَا حُمَيْدُ بْنُ زَنْجَوَيْهِ ، حَدَّثَنَا عُثْمَانُ بْنُ صَالِحٍ ، حَدَّثَنَا ابْنُ لَهِيعَةَ ، عَنْ عَطَاءٍ ، قَالَ : قَالَ أَبُو هُرَيْرَةَ ، عَنْ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ أَنَّهُ قَالَ : " تَعَلَّمُوا مِنْ أَنْسَابِكُمْ مَا تَصِلُونَ بِهِ أَرْحَامَكُمْ ثُمَّ انْتَهُوا - وَتَعَلَّمُوا مِنَ الْعَرَبِيَّةِ مَا تُعْرِبُونَ بِهِ كِتَابَ اللَّهِ ثُمَّ انْتَهُوا - وَتَعَلَّمُوا مِنَ النُّجُومِ مَا تَهْتَدُونَ بِهِ فِي ظُلُمَاتِ الْبِرِّ وَالْبَحْرِ ثُمَّ انْتَهُوا " .
Sayyiduna Abu Hurayrah (may Allah be pleased with him) narrated from the Messenger of Allah (peace and blessings be upon him) that he (peace and blessings be upon him) said: "Learn enough of your lineages to maintain ties with your relatives, then stop; learn enough of the Arabic language to recite and understand the Book of Allah correctly, then stop; and learn enough of the stars to find your way in the darkness of land and sea, then stop."