Habib Ali was respected by many Indonesian officials and also befriend with Sukarno. A few days before the Proclamation of Indonesian Independence, Habib Ali Kwitang offered his residence for Sukarno to stay overnight before proclaiming the independence to avoid threats from the Dutch Empire. During his stay at Habib Ali Kwitang's residence, Sukarno always followed spiritual activities in Habib Ali's assembly and congregation. The assembly invoked a lot of prayers for safety of Sukarno and for the independence which would be proclaimed on the August 17, 1945 CE which was also in the month of Ramadan.