Your fast is valid. Bad thoughts which annoy you will not harm your faith nor your worshipping Allah.
Repeating Isteghfaar and repeating Salawaat and repeating La Hawla wala Qowwata ILLA Billah and reciting Sura Tawheed is very useful always especially in driving away satanic thoughts.
Tawheed means not believing nor worshiping but only Allah (SWT). Shirk is believing or worshiping other than Allah with Allah (SWT). We believe that the Prophet and his Ahlul Bayt are the most humble servants of Allah.
Prostrating at the doorstep of the Prophet (SAWA) is in fact for thanking Allah for granting us the great bounty of visiting the shrine of the Prophet (SAWA) or his Ahlul Bayt (AS). Thanking Allah in the form of prostrating is a sincere worship to Allah and can never be Shirk. We never believe nor accept any claim suggesting worshiping the Prophet, his Ahlul Bayt or any one but only Allah (SWT). Respecting the Prophet and his Ahlul Bayt does not mean worshipping them at all. Respect is completely different from worshiping. Wahhabis mix wrongly between respect and worship. Even we prostrate at the doorstep of the holy shrines, we never do it as a sign of respect but we do it as an act of thanking Allah for His great bounties on us.
Thank you for your question. Shirk is to limit Allah in any way such that even the conception of another god would be possible. Even to say He is a god is not satisfactory as that would entail a genus of gods under which God would be a species with only one referent. Numerical oneness is limited, as in numbering God as one a person gives the possibility of two gods. Numbers themselves are a factor of the material world. Rather, Allah is above being numbered as a number entails a limit and He is above all limitations.
As for prostration, it is clear that if a person prostrates to a being in worship then that is completely forbidden in Islam and Shiism as a sect within Islam. However, prostration does not only entail this meaning and is also a symbol of humbleness. For this reason God commanded the angels to prostrate to Adam (as), not in worship or out of polytheistic intent. So too Prophet Ya'qub (as) prostrated in front of Prophet Yusuf (as).
May you always be successful
We do not have an evidence that Zulaikha or her husband were Mushriks. Many scholars say that if the Azeez (King) of Egypt was a Mushrik, he would have never behaved with Yousuf in the way he behaved and he would have never given him the charge in the treasury of Egypt. Zulaikha tried to do wrong against Yousuf but she could not because of the firm faith and strong will power if Yousuf. Later in she has repented and become a good person. Allah (SWT) forgives every sincere person who repents and seeks forgiveness.
Insofar as you are not intentionally worshipping or praying to the picture or the people and just had it there by accident, it is not shirk. However it is better not to pray in front of the picture (and you fixed that anyway so that is not a problem). Accidents happen!
In theory, atheism is different from shirk.
In practice, it is often the same. Atheism usually leads to replacing theism with some sort of -ism such as nationalism, tribalism, communism, scienceism, secularism, etc, and this results in something else being treated as a partner of God (for instance, as something to appeal to in a time of need, as the height of perfection to try to attain, as what you live your life for).
It is hard to say which is worse. On a social level, both atheism and degenerate polytheism cause harm. Places where there has been a push towards atheism often have a lot of problems such as totalitarianism, dictatorship, or corruption, as well as a sense of nihilsm or despair. Atheism as a state ideology has not brought happiness, justice, or a healthy and sustainable prosperity anywhere.
Similarly, although secularism is not inherently atheist, secular social service organizations and interventions can provide functional help, but generally don't have the same ability to spread compassion and build community that religious institutions often do. That is, they can take care of some material problems in society, such as providing housing services, but they largely have not yet been able to deal with the human aspect of building community, bringing peace in a neighbourhood, encouraging love and forgiveness, uplifting people, and eradicating misery.
On the other hand, historically, degenerate polytheism has also tended to reinforce social injustice - for instance, reinforcing unhealthy taboos, wastage of money for unnecessary religious ceremonies or priesthoods while people are in poverty, injustice towards women, superstition, or privileging the elite.
In fact, one can say that some of the problems in the Muslim world are due to various forms of lesser shirk - for instance, people worshipping traditions or national/tribal identity instead of God.
On a personal and spiritual level, it really depends. I think that the biggest personal challenge of atheism is the loss of meaning and greater purpose in life. Some atheists also do unethical things to other people because they don't see anything wrong with it. (Yes, you do not need to be a theist to be ethical, but, statistically speaking, it seems to help.)
Of course people who are atheists may have other life purposes, for instance, a dedication to family or the arts; but, even in those cases, something greater than themselves is taking the place of God as a focal point.
Today, atheism is sometimes confused with lack of adherence to organized religion. However, there is an increasing number of people who do not feel fulfilled by organized religion and are unaffiliated, but who do believe in things like heaven or life after death.
And, atheists come in all types. Some are seekers and just haven't been sold on theism or have been put off by some ways that theism has been co-opted (for instance, how Fox News in the US treats Jesus these days), or else had bad experiences with organized religion. In fact I have met some rather spiritually minded atheists.
Some people are just occupied with other things in life.
And then there are some atheists who are genuinely evil and end up using atheism as a front for something worse, such as dictatorship, or starting a cult (obviously, non-theistic cults). But, again, one could classify that as a form of shirk, in the same way that the Pharaoh in the Qur'an deified himself and was not merely an atheist.
So, basically, it's not easy to answer which is worse, atheism or shirk, except that I would go back to what I said in the beginning; and that is, that they tend to go together.
In any case, the Qur'an addresses both atheism and shirk with the main message that God exists and is present and involved in our lives, that the universe is meaningful, that our existences are meaningful, that we are part of a broader picture, and that theism is part of the road to success.
Atheism is denial of Allah as the Creator, while shirk is associating partners with the Creator.
Polytheism شرك is to worship with Allah some one or something else. Those who did polytheism in the past then left it and became Muslims will be forgiven because they have left polytheism, but those who insisted on polytheism and died with it, will not be forgiven as you read in (Quran 4:48).
Shirk is calling someone God, assigning divinity to someone other than God, or assigning the offices of divinity to someone other than God.
Saying "'Ali is the wali of God" is not shirk, because it is not doing any of the above.
Furthermore, the Qur'an speaks of the "awliya' Allah" (plural of wali) with respect to human beings. Therefore, it is not shirk to say that Imam 'Ali is the wali of Allah, since Allah uses that phrase Himself. Given his high level of spirituality and service to Islam, very few Muslims would disagree with the idea behind saying "'Ali is the wali of Allah," although this phrase has become associated with Shi'ism.
Therefore, the biggest objection that someone could put forward to saying this in the adhan is that it does not belong in the adhan, not that it is shirk or an untrue statement.
It is not necessary to say "'Ali is the wali of Allah" in the adhan or kalimah. It is optional to say that. Shi'is generally do not consider it part of the adhan or salat. If it is said in the adhan, it is said as an optional thing which is said for blessings, or because it is seen as recommended, not as an actual part of the adhan. This is similar to how one might recite salawat after the Prophet's name during the adhan - it is done as an optional thing and not out of the belief that it is a formal part of the adhan.
For matters of religious law, such as the salat or converting to Islam, it is enough to say "there is no God but Allah and Muhammad is his Prophet".
However, due to the Shi'i belief in the Imamate, some Shi'is might feel it is a more complete or comprehensive statement of faith to also say "'Ali is the wali of Allah" (because the 3 statements cover monotheism, prophethood, and imamate); one might also say it to indicate a desire to convert specifically to Shi'ism. But it is not necessary.
Among Shi'is, it has become common to say "'Ali is the wali of Allah" during the adhan. There are some narrations indicating that this was said in the presence of the Prophet, for instance, that on the Day of Ghadir Salman al-Farsi recited it during the adhan, and the Prophet approved of it.
Similarly, regarding the kalimah, there are narrations in Sunni and Shi'i books connecting endorsement of Imam 'Ali to endorsement of Allah and the Prophet. For instance, it is said that it is written on the Throne of God: "There is no God but Allah, Muhammad is My servant and messenger, and 'Ali was his supporter."
Sadly, today, some Muslims attack each other over very small details of practice. They dislike some things because they are different from the Islam they are familiar with, or because they are symbolic of a different sect. It would be better to move towards a spirit of tolerance and acknolwedge that there are multiple ways in which Islam is lived today. After all, even if two people are reciting the adhan differently, they are still reciting the adhan. There are many people who don't care about God at all. Why not focus on the big things such as discussing the existence and relevance of God, rather than focusing on small details and trying to "prove" who is right?
(This is not directed at you personally since I am sure it is a genuine question, and it is a good question to ask and know about, but rather it is an overall comment regarding the situation of the Muslim world today and the types of arguments that are had over how to do wudhu and so forth.)
Accountability is determined by the exercise their own free will and understanding of what they are doing. So for example a 4 year old child hitting another child or stealing is wrong but does the child fully understand yet- the implications of their actions. Are they held accountable in the eyes of Allah swt- the answer is no. This is also because their aql and rational/intellectual faculty is not yet developed fully.
Hence those suffering with serious mental illness in which their aql is severely affected such as severe bi-polar or severe mood disorders, or forms of schizophrenia my have entire breaks from reality, they may for example even think "they are the president of the United States" and actually believe it. These are cases in which such a person is not rational whatsoever and hence would most likely not be held accountable by Allah. Otherwise we are expected to control ourselves and not attribute excuses to simply being "crimes of passion" whereas we are expected to control our passions/impulses and not be controlled by them as human beings that is what distinguishes us from other creatures on this Earth.
wa Allahu al-'Alim,
And Allah is all knowing,
as salam alaikum
The Qur'an says: "Allah forgives not that partners should be set up with Him but forgive anything else" (4:48). However many people who were mushrikin became Muslims and Allah forgave all their past sins. One of the interpretations of the above-mentioned verse is that as long as you are associating something with Allah, you won't be able to go back to Him through tawbah while it is possible if you are committing other sins.
With prayers for your success.
Those who insist on Shirk and die with Shirk will not be forgiven, but those who repented and left Shirk will be forgiven.
Millions of people who committed Shirk,then became Muslims, were forgiven.
The Hadeeth says: Believing in Islam cuts off whatever was before it الاسلام يجُبّ٫ ما قبله