Sift flour into a medium-sized bowl.
Add butter and rub it into the flour with fingertips until the flour looks like breadcrumbs.
Make a well in the center. Pour the water, a little at a time and mix with a metal spoon. If the dough appears too dry, add more water. Turn the dough onto a clean surface and knead until it comes together as a dough. It need not be very smooth at this stage.
Let the dough rest for 5 minutes and then give in a light knead. It should be a lot smoother after the rest.
Pinch a handful of dough and roll it thin to about 2mm to 3mm.
Cut it vertically into long strips and then vertically into smaller, bite-sized squares.
Add oil into in deep fryer or a deep frying pan. Heat it up.
Test the oil by drop a small piece of dough into it. If the oil is well heated up, the dough piece will float to the top and will start bubbling on the sides immediately. If not, let it heat up a bit longer.
Deep fry the dough pieces until they turn light brown. Use a slotted spoon to turn them over halfway through so that they cook on both sides.
Remove from oil with a slotted spoon and strain in a kitchen towel. Continue with the rest of the dough.
To prepare the sugar syrup, place sugar in a large pan and add water. Cook until the sugar is dissolved and the sugar syrup thickens to a softball stage (about 112°Celsius on a candy thermometer).
Add the deep-fried dough all at once into the sugar syrup and mix until the dough bites are all well coated with the syrup. Mix gently to prevent the fried pastry from breaking too much.
Remove the sugar-coated dough bites into a serving plate and serve. The fried dough is best served within 4 to 5 hours after frying.