What should the one performing the slaughter say at the time of slaughtering the 'aqīqah?
All praise is due to Allah, and may peace and blessings be upon our Master, the Messenger of Allah.
It is Sunnah to say the following supplication at the time of slaughtering the 'aqīqah:
"Bismillāhi wallāhu Akbar, Allāhumma laka wa ilayka, hādhihi 'aqīqatu fulān."
("In the name of Allah, and Allah is the Greatest. O Allah, this is for You and unto You — this is the 'aqīqah of [the child's name].")
This is based on what al-Bayhaqī narrated in Al-Sunan al-Kubrā (Vol.9/P.511), that the Prophet ﷺ said: "Slaughter it in his name and say: In the name of Allah, and Allah is the Greatest. O Allah, this is for You and unto You — this is the 'aqīqah of so-and-so."
And Allah Almighty knows best.
Is there a solution to put an end to thinking of worries during prayer?
Firstly, make ablution after the time for prayer begins and busy yourself with remembering Allah, The Exalted, before the iqaamah (start of prayer).In order to become humbly submissive during prayer, you must perform prayer in congregation. After the prayer ends, stay in your place and read the post-prayer remembrances (Adhkaar) and make supplication to Allah, The Exalted.
What is the ruling on mentioning Allah`s name upon slaughtering an animal?
In the Name of Allah, and may peace and blessings be upon our Master, the Messenger of Allah.
It is a Sunnah (prophetic tradition) for the person slaughtering to say: "Bismillah" (In the Name of Allah), though the most complete and perfect phrasing is to say: "Bismillah ar-Rahman ar-Rahim" (In the Name of Allah, the Most Gracious, the Most Merciful). This is in accordance with the words of Allah Almighty: "So eat of that [meat] upon which the name of Allah has been mentioned." (Al-An'am/118)
However, pronouncing it is not an obligatory requirement (Wajib). If someone omits it—whether deliberately or out of forgetfulness—the meat remains entirely lawful (Halal) to eat, though purposely omitting it is considered disliked (Makruh). And Allah the Almighty Knows Best.
What is the ruling on speaking while relieving oneself?
It is disliked for one relieving himself to speak while doing so, except out of necessity. And Allah the Almighty knows best.