قُل لَّا أَمْلِكُ لِنَفْسِي نَفْعًا وَلَا ضَرًّا إِلَّا مَا شَاءَ اللَّهُ ۚ وَلَوْ كُنتُ أَعْلَمُ الْغَيْبَ لَاسْتَكْثَرْتُ مِنَ الْخَيْرِ وَمَا مَسَّنِيَ السُّوءُ ۚ إِنْ أَنَا إِلَّا نَذِيرٌ وَبَشِيرٌ لِّقَوْمٍ يُؤْمِنُونَ (188)
(7:188) Tell them [O Muhammad]: 'I have no power to benefit or harm myself except as Allah may please. And had I knowledge of the unseen, I should have amassed all kinds of good, and no evil would have ever touched me. *145 I am merely a warner and the herald of glad tidings to those who have faith.'
*145). The time of the advent of the Last Day is known to God alone Who knows the Unseen which, in fact, is not known even to the Prophet (peace be on him). Being human, he is not aware what the morrow has in store for him and his family. Had his knowledge encompassed everything - even things that lie beyond the ken of sense-perception and events that lie hidden in the future - he would have accumulated immense benefit and would have been able to avoid a great deal of loss owing to such foreknowledge. That being the case, it is sheer naivety to ask the Prophet about the actual time for the advent of the Last Day.