Narrated Abu Huraira
The Prophet (ﷺ) said, "A strong demon from the Jinns came to me yesterday suddenly, so as to spoil my prayer, but Allah enabled me to overpower him, and so I caught him and intended to tie him to one of the pillars of the Mosque so that all of you might see him, but I remembered the invocation of my brother Solomon: 'And grant me a kingdom such as shall not belong to any other after me.' (38.35) so I let him go cursed."
Narrated Abu Huraira
The Prophet (ﷺ) said, "Solomon (the son of) David said, 'Tonight I will sleep with seventy ladies each of whom will conceive a child who will be a knight fighting for "Allah's Cause.' His companion said, 'If Allah will.' But Solomon did not say so; therefore none of those women got pregnant except one who gave birth to a half child." The Prophet (ﷺ) further said, "If the Prophet (ﷺ) Solomon had said it (i.e. 'If Allah will') he would have begotten children who would have fought in Allah's Cause." Shuaib and Ibn Abi Az-Zinad said, "Ninety (women) is more correct (than seventy).
Narrated Abu Dhaar
I said, "O Allah's Messenger (ﷺ)! Which mosque was built first?" He replied, "Al-Masjid-ul-Haram." I asked, "Which (was built) next?" He replied, "Al-Masjid-ul-Aqs-a (i.e. Jerusalem)." I asked, "What was the period in between them?" He replied, "Forty (years)." He then added, "Wherever the time for the prayer comes upon you, perform the prayer, for all the earth is a place of worshipping for you."