Visiting graveyards when fasting
Question

Are you allowed to go to the grave yard during fast.
Praise be to Allah.There is no reason not to visit graveyards whilst fasting. The Prophet (peace and blessings of Allah be upon him) said, “but now visit them (graveyards).” The apparent meaning of this hadeeth is that it is general with regard to time. 
It was narrated that Abu Hurayrah said: The Messenger of Allah (peace and blessings of Allah be upon him) said to his companions, “Who among you is fasting today?” Abu Bakr said, “I am.” He said, “Who among you has attended a funeral?” Abu Bakr said, “I have.” He said, “Is there anyone among you who has visited a sick person?” Abu Bakr said, “I have.” He said, “Is there anyone among you who has given charity?” Abu Bakr said, “I have.” He said, “(These qualities) are not combined in a man but he will enter Paradise.” Narrated by Muslim. 
And Allah knows best.