What is the minimum time a person can spend in seclusion for it to be considered an i’tikaf?

Find answers

Some scholars say that the minimum is one full night: from maghrib time to fajr of the next morning
Some scholars say that even a portion of one single night is accepted as an i’tikaf. As long as there was the intention that the hours spent at the masjid was for i’tikaf.