Dear respected Shaykh, assalamu alaikum wa rahmatullahi wa barakatuh. What we know is that a voluntary fast does not need the formation of the intention for it during the preceding night and a person can make the intention for it at any time. However, a student of Islamic knowledge gave a fatwa whose wording is: “It is not allowed to form the intention for a voluntary fast after the sun passes the meridian. It is not allowed to fast after this time. However, it is allowed for a person to make the intention for a voluntary fast before the sun passes the meridian.” He said that he quoted this fatwa from the book Zaad al-Ma’aad by ibn al-Qayyim (may Allah have mercy on him). We request clarification from you because this issue confused people. مسألة في نية صيام التطوع