There is no exact date chronologically locate when Shaykh Daud migrated to Makkah to pursue Islamic religious sciences. It is believed that it happened when Pattani was threatened by the Siamese troops in the middle of 1780s when he was about eighteen years old. Ahmad Fathy opines that the migration of Shaykh Daud to Makkah took place in 1787. Some other source state that between Pattani and Siam around the middle of 1780s.