If its just a thought then it does not break the fast.

What is the ruling on fasting but thought of breaking the fast due to hungry/thirst but realised shaytaan playing with his head, is this person fast valid?

Fasting |