When the moon is sighted, fasting becomes obligatory on the people of nearby regions as well
As mentioned in the previous hadiths, the Prophet ﷺ accepted the testimony of some of the Companions, and relying on it alone he himself fasted and also commanded the people to fast.
[Sahih: Sahih Abi Dawud: 2052, Kitab al-Siyam: Chapter on the testimony of one person on sighting the crescent of Ramadan, Abu Dawud: 2342]
(Ibn Qudamah (may Allah have mercy on him)) When the residents of one region sight the moon, fasting becomes obligatory on (the residents of) all regions.
[Al-Mughni: 328/4]
However, the narration of Kurayb shows that the residents of each region will sight the moon separately, as it contains that Ibn Abbas (may Allah be pleased with them both) did not accept the statement of Kurayb (that “I saw the moon on the night of Friday”) and said, “We saw the moon on the day of Saturday فلا نزال نصوم حتى نكمل ثلاثين أو نراه “So we will keep fasting until we complete thirty or we see it (again).” Then Kurayb said, “Is the sighting of the moon by Mu’awiyah (may Allah be pleased with him) and his fasting not sufficient for you?” Ibn Abbas (may Allah be pleased with them both) said, “No” هكذا أمرنا رسول الله صلى الله عليه وسلم “This is how the Messenger of Allah ﷺ commanded us.”
[Muslim: 1087, Kitab al-Siyam: Chapter explaining that each land has its own sighting, Abu Dawud: 2332, Tirmidhi: 689, Nasa’i: 131/4]
Shaykh Albani (may Allah have mercy on him) writes: “Indeed, the hadith of Ibn Abbas (may Allah be pleased with them both) concerns a person who sighted the moon in his own city and fasted. Then, during Ramadan, news reached him that the people in another city had sighted the moon one day before him. In such a case, that person will fast with the people of his city until the completion of thirty fasts or until he sights his own moon. In this way the difficulty is removed, and the hadith of Abu Hurairah (may Allah be pleased with him) and others remains on its generality, which includes every person who receives news of the sighting of the moon from any city or province without any limit of distance, as Imam Ibn Taymiyyah (may Allah have mercy on him) said in [Al-Fatawa: 107/25].”
[Tamam al-Minnah: p. 398]
The first point is that this concerns the middle of Ramadan, not the beginning of Ramadan. The second point is that Kurayb did not sight the moon in the outskirts of Madinah, but rather in Sham, which was a separate state and country.
Some scholars hold that if the distance between two regions is short, the places of moonrise will not differ, such as Baghdad and Basra and the like. Fasting becomes obligatory on the residents of both these regions merely by the moon being sighted in either one of them. And if the distance between two regions is great, for example Iraq, the Hijaz and Sham and the like, then the people of each region will rely on the moon they have sighted themselves.
[Al-Mughni: 328/4]