Sayyiduna Abdullah bin Umar (may Allah be pleased with them both) narrates that some men from among the Companions of the Prophet (peace and blessings be upon him) were shown in their sleep that Laylat al-Qadr is in the last seven (nights) of Ramadan. So the Messenger of Allah (peace and blessings be upon him) said: "I hear that your dreams have agreed that it is in the last seven; so whoever would seek it, let him seek it in the last seven."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصيام / 8544
Abdullah bin Umar (may Allah be pleased with them both) narrates that the Messenger of Allah (peace and blessings be upon him) said: "Some people among you were shown Laylat al-Qadr in the first seven, and some people were shown it in the last seven." Then the Messenger of Allah (peace and blessings be upon him) said: "Seek it in the last seven."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصيام / 8546
Sayyiduna Ibn Umar (may Allah be pleased with them both) narrates that the Prophet (peace and blessings be upon him) said: "Seek Laylat al-Qadr in the last seven (nights)."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصيام / 8547
Abdullah bin Dinar (may Allah have mercy on him) narrates: I heard Sayyiduna Ibn Umar (may Allah be pleased with them both) narrating from the Prophet (peace and blessings be upon him) about Laylat al-Qadr: "Whoever would seek it, let him seek it on the twenty-seventh night."
Shu'bah said: A trustworthy man told me from Sufyan that he used to say that he only said: "Whoever would seek it, let him seek it in the remaining seven." So I do not know whether it was this or that; Shu'bah was in doubt.
The correct version is the narration of the majority, not the narration of Shu'bah.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصيام / 8548
Sayyiduna Ibn Umar (may Allah be pleased with them both) narrates from the Prophet (peace and blessings be upon him) about Laylat al-Qadr that he (peace and blessings be upon him) said: "Seek it in the last ten (nights); and if one of you becomes weak or unable, let him not be overcome in the remaining seven."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصيام / 8549
Sayyiduna Ubadah bin al-Samit (may Allah be pleased with him) narrates that the Messenger of Allah (peace and blessings be upon him) came out to us wanting to inform us about Laylat al-Qadr, but two men from among the Muslims were quarrelling. He (peace and blessings be upon him) said: "I came out to you to inform you about Laylat al-Qadr." He (peace and blessings be upon him) said: "Because of the quarrel of so-and-so and so-and-so, it was taken up. Perhaps there is good in this. Seek it in the last ten: on the fifth, the seventh or the ninth."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصيام / 8550