Sayyiduna Amr bin Abasah (may Allah be pleased with him) said: "I came to the Messenger of Allah (peace and blessings be upon him) and said: O Messenger of Allah (peace and blessings be upon him), who has followed you in this matter (the religion)? He (peace and blessings be upon him) said: 'A free man and a slave.' I said: 'What is faith (iman)?' He (peace and blessings be upon him) said: 'Pure speech and feeding (others).' I said (again): 'What is faith?' He (peace and blessings be upon him) said: 'Patience and generosity.' I asked: 'Which Islam is the best?' He (peace and blessings be upon him) said: '(That of the person) from whose tongue and hand the other Muslims are safe.' I asked: 'Which faith is the best?' He (peace and blessings be upon him) said: 'Good character.' I said: 'Which emigration (hijrah) is the best?' He (peace and blessings be upon him) said: 'That you abandon the things your Lord dislikes.' I said: 'Which jihad is the best?' He (peace and blessings be upon him) said: '(That of the one) whose blood is shed and whose horse is also wounded (and killed).' I asked: 'Which hours are the best?' He (peace and blessings be upon him) said: 'The last part of the night; then (the prayer offered at that time) is accepted and the angels are present in it until the dawn breaks. Then when the dawn breaks, there is no prayer except two rak'ahs (the Sunnah of Fajr) until you pray the (obligatory) Fajr prayer. When you have prayed Fajr, refrain from prayer until the sun rises; then when it is rising, keep refraining (from prayer), for it rises between the two horns of Satan, and the disbelievers prostrate to it at that time. Then when the sun has risen, keep refraining from (voluntary) prayer until the sun has risen high. Then when it has risen high, prayer is accepted and the angels are present in it until the sun sets. Then when it is close to setting, refrain from prayer, for it sets in the horn of Satan, and the disbelievers prostrate to it at that time.'"
In another similar narration, Sayyiduna Amr bin Abasah (may Allah be pleased with him) said: "I came to the Prophet (peace and blessings be upon him) at Ukaz and asked: Who has followed you in this matter? He (peace and blessings be upon him) said: A free man and a slave (and at that time only Sayyiduna Abu Bakr and Sayyiduna Bilal (may Allah be pleased with them both) were with him (peace and blessings be upon him)). Then he (peace and blessings be upon him) said: Go (back to your land for now) until Allah Almighty grants dominance to His Messenger, then come to me." He said: "O Prophet of Allah (peace and blessings be upon him), may Allah make me your ransom, teach me something that you know and of which I am ignorant, which will benefit me and not harm you: which hour is the closest to Allah, and which time is one in which one should be wary (of praying)?" He (peace and blessings be upon him) said: "O Amr bin Abasah, you have asked me about something that no one before you has asked me. Indeed, the Lord, the Blessed and Exalted, draws near (in a manner befitting His majesty to His servants) in the last part of the night and forgives (the servants), except for the one who commits shirk and oppression and transgression. So the prayer at that time is recorded and the angels are present in it until the sun rises, for it rises upon the horn of Satan and that is (the time of) the prayer of the disbelievers; so refrain from prayer until the sun has risen high. Then when it has risen high, the angels are present in the prayer until the day becomes even (midday). Then when the day is exactly even, refrain from prayer, for that is the time when Hell is stoked. Then when the shadow declines, the angels are present in the prayer until the sun inclines towards setting, for it sets upon the horn of Satan and that is the time of the prayer of the disbelievers; so keep refraining from prayer until the sun sets."
Imam al-Busiri (may Allah have mercy on him) said: Imam Muslim (may Allah have mercy on him) recorded it in his Sahih, and the compilers of the four Sunan recorded it in abridged form.