Abu Bakra said he heard God’s messenger say, “Seek it (meaning lailat al-qadr), on the twenty-first, twenty-third, twenty-fifth, twentyseventh, or on the last night.”
‘Abdallah b. Unais told that he said, “Messenger of God, I have a place in the desert where I live and in which I pray praising God, but give me command about a night when I may leave it and come to this mosque.” He replied, “Come on the twenty-third night.” His son was asked how his father used to act and said he used to enter the mosque when he had prayed the afternoon prayer and not leave it for any purpose till he prayed the morning prayer. Then when he had prayed the morning prayer he found his beast at the door of the mosque, mounted it and got back to his desert region.
‘A'isha said she asked God’s messenger to tell her what prayers to say on lailat al-qadr if she knew which night it was, and he told her to say, “O God, Thou art forgiving and lovest forgiveness, so forgive me.”
Ahmad, Ibn Majah, and Tirmidhi transmitted it, and Tirmidhi declared it to be sound.