Ali Abdullah, 5, poses for a photograph as he attends Eid al-Fitr prayers that marks the end of the holy fasting month of Ramadan on the first day of Eid al-Fitr in Sanaa, Yemen, Wednesday, July 6, 2016. (AP Photo/Hani Mohammed)
Ali Abdullah, 5, poses for a photograph as he attends Eid al-Fitr prayers that marks the end of the holy fasting month of Ramadan on the first day of Eid al-Fitr in Sanaa, Yemen, Wednesday, July 6, 2016. (AP Photo/Hani Mohammed)
Pakistani men sell balloons after Eid al-Fitr prayers at a Mosque, in Karachi, Pakistan. Photo: REHAN KHAN/EPA
Pakistani men sell balloons after Eid al-Fitr prayers at a Mosque, in Karachi, Pakistan. Photo: REHAN KHAN/EPA
An elderly Kyrgyz man prays during the Eid al-Fitr Muslim celebration marking the end of Ramadaan in Bishkek, Kyrgyzstan. Photo: IGOR KOVALENKO/EPA
An elderly Kyrgyz man prays during the Eid al-Fitr Muslim celebration marking the end of Ramadaan in Bishkek, Kyrgyzstan. Photo: IGOR KOVALENKO/EPA
A Yemen girl displays her hands painted with henna paste as she attend Eid al-Fitr prayers that mark the end of the holy fasting month of Ramadan on the first day of Eid al-Fitr in Sanaa, Yemen, Wednesday, July 6, 2016. (AP Photo/Hani Mohammed)
A Yemen girl displays her hands painted with henna paste as she attend Eid al-Fitr prayers that mark the end of the holy fasting month of Ramadan on the first day of Eid al-Fitr in Sanaa, Yemen, Wednesday, July 6, 2016. (AP Photo/Hani Mohammed)
A woman takes a photograph following Eid al-Fitr prayers to mark the end of the holy fasting month of Ramadaan at Sunda Kelapa port in Jakarta,  Indonesia. Photo: Darren Whiteside/Reuters
A woman takes a photograph following Eid al-Fitr prayers to mark the end of the holy fasting month of Ramadaan at Sunda Kelapa port in Jakarta, Indonesia. Photo: Darren Whiteside/Reuters
A boy inflates a balloon along a street on the first day of the Muslim holiday of Eid al-Fitr, which marks the end of the holy month of Ramadan, in the rebel held Douma neighborhood of Damascus, Syria. Photo: Bassam Khabieh/Reuters
A boy inflates a balloon along a street on the first day of the Muslim holiday of Eid al-Fitr, which marks the end of the holy month of Ramadan, in the rebel held Douma neighborhood of Damascus, Syria. Photo: Bassam Khabieh/Reuters
Iranian women pray during the Eid al-Fitr prayers in Tehran, Iran, Wednesday, July 6, 2016. Eid al-Fitr marks the end of the holy month of Ramadan, during which Muslims all over the world fast from sunrise to sunset. (AP Photo/Ebrahim Noroozi)
Iranian women pray during the Eid al-Fitr prayers in Tehran, Iran, Wednesday, July 6, 2016. Eid al-Fitr marks the end of the holy month of Ramadan, during which Muslims all over the world fast from sunrise to sunset. (AP Photo/Ebrahim Noroozi)
Afghan youths ride on swings during the first day of the Muslim holiday of Eid al-Fitr. Photo: Omar Sobhani/Reuters
Afghan youths ride on swings during the first day of the Muslim holiday of Eid al-Fitr. Photo: Omar Sobhani/Reuters
Filipino Muslims take their selfie as they gather at Manila's Rizal Park to mark the end of the Holy month of Ramadan known as Eid'l Fitr Wednesday, July 6, 2016 in Manila, Philippines. The Eid, one of the most important holidays in the Muslim world, is celebrated with prayers, picnics and family reunions.(AP Photo/Bullit Marquez)
Filipino Muslims take their selfie as they gather at Manila's Rizal Park to mark the end of the Holy month of Ramadan known as Eid'l Fitr Wednesday, July 6, 2016 in Manila, Philippines. The Eid, one of the most important holidays in the Muslim world, is celebrated with prayers, picnics and family reunions.(AP Photo/Bullit Marquez)
A Pakistani girl let the Henna tattoo dry ahead of the biggest Muslim Festival, Eid al-Fitr, to mark the end of Ramadaan, in Karachi, Pakistan. Photo: SHAHZAIB AKBER/EPA
A Pakistani girl let the Henna tattoo dry ahead of the biggest Muslim Festival, Eid al-Fitr, to mark the end of Ramadaan, in Karachi, Pakistan. Photo: SHAHZAIB AKBER/EPA
Members of the awoodi Bohra community offering 'namaz' prayers on the occasion of Eid al Fitr in a mosque in Bhopal, India. Photo: SANJEEV GUPTA/EPA
Members of the awoodi Bohra community offering 'namaz' prayers on the occasion of Eid al Fitr in a mosque in Bhopal, India. Photo: SANJEEV GUPTA/EPA
A Muslim man tries a traditional cap at a stall outside a mosque ahead of the Eid al-Fitr festival. Photo: Rupak De Chowdhuri/Reuters
A Muslim man tries a traditional cap at a stall outside a mosque ahead of the Eid al-Fitr festival. Photo: Rupak De Chowdhuri/Reuters
Indian girls from the Dawoodi Bohra community exchange greetings after offering 'namaz' prayers on the occasion of Eid al Fitr in a mosque in Bhopal, India. Photo: SANJEEV GUPTA/EPA
Indian girls from the Dawoodi Bohra community exchange greetings after offering 'namaz' prayers on the occasion of Eid al Fitr in a mosque in Bhopal, India. Photo: SANJEEV GUPTA/EPA
A girl takes part alongside men in Eid al-Fitr prayers in Bucharest, Romania, July 5, 2016. Members of the Romanian Muslim community joined prayers at the Dinamo stadium in the Romanian capital, in the largest Muslim public gathering of the year. Eid al-Fitr marks the end of the holy fasting month of Ramadan. (AP Photo/Andreea Alexandru)
A girl takes part alongside men in Eid al-Fitr prayers in Bucharest, Romania, July 5, 2016. Members of the Romanian Muslim community joined prayers at the Dinamo stadium in the Romanian capital, in the largest Muslim public gathering of the year. Eid al-Fitr marks the end of the holy fasting month of Ramadan. (AP Photo/Andreea Alexandru)

Muslims around the world celebrated the Eid-al-Fitr religious holiday on Wednesday, marking the end of Islam's holy month of Ramadaan.

Like the start of Ramadaan, during which believers abstain from eating and drinking during daylight hours, Eid-al-Fitr depends on the sighting of the moon and its celebration varies in different countries. The day begins with early morning prayers and then family visits and feasts.

For those displaced by fighting in Syria and Iraq, this Eid was yet another festival marked away from home.

At an informal camp near Lebanon's Bekaa Valley where many Syrian refugees now live, the common sentiment among those who had fled their country was homesickness.

“When we greet each other, we wish we'd return to Syria. I hope we all go back to Syria,” said 24-year old Mohammed, who fled Syria some three years ago. “This Eid comes once a year, we are happy for a day, not more.”

In Syria, President Bashar al-Assad visited Homs where he joined a congregation for Eid prayers, state TV reported.

Eid was also being celebrated on Wednesday in other Middle Eastern countries as well as nations in Asia and Africa.

In Mogadishu, hundreds gathered in an open air stadium for prayers, while in Addis Ababa, men sang after attending prayers.

In Indonesia, the world's most populous Muslim country, thousands of people attended prayers at the grand mosque of Dian al-Mahri in West Java province.

In Karachi, Pakistan, the festival was observed under tight security, with police as well as soldiers deployed around special Eid prayer grounds.

Afghan President Ashraf Ghani called for peace in his war-torn country at an official gathering at the presidential palace in Kabul.

Muslims in Kashmir and the southern state of Kerala in India ushered in festivities a day ahead of nationwide celebrations on Thursday. Muslims traditionally shop on the eve of Eid for new clothes and food.

In Bangladesh, people headed to markets and train stations for journeys home ahead of the festival which will be marked on Thursday. However, fears were also high following last week's Islamist militant attack on an upscale restaurant in Dhaka in which 20 people were killed.

“There are fewer customers in the market, and we fear that there could be more attacks like that in the markets so customers are not coming,” shop owner Akhtar Hossain said.

In Europe, Muslims wailed in prayer in a basement to mark the end of Ramadaan in one of the Greek capital's many makeshift mosques set up in garages or abandoned warehouses. Athens has had no formal mosque since independence from the Ottoman Turks in 1832, but pledged last month to build one for its 200,000 Muslims.

Reuters