Peace be upon you, teacher.
Can a girl and a boy become temporary brother and sister?
Can a girl and a boy become temporary siblings through a formula?
The essence and first answer at a glance (60-word summary)
In Islam, there are only two kinds of sibling relationships: those by blood and those through nursing. A formula declaring two people temporary brother and sister is not accepted and creates no mahram relationship. Every believing woman is like a sister and mother to a believing man, but this does not make them mahram by means of such a formula; the rules governing interaction between non-mahrams must still be observed.
Answer by Master Ali Saei (Abdullah Meshkat)
Teacher and researcher in the intellectual tradition of wisdom and the Ahl al-Bayt | Soroush Bamdadān Cultural CenterIn Islam, there are only two forms of siblinghood: by blood and through breastfeeding. There is no formal contract of brotherhood or sisterhood, and no such arrangement can establish the status of mahram. Anyone who claims otherwise is an innovator and is to be condemned.
In general, however, every believing woman is like a sister and a mother to every believing man, while all the boundaries and considerations that apply between non-mahrams remain in force.